/* Generated by scripts/build_compat_css.py; do not edit. */
/* Retained source: style.css */
/* MyFloat Portal - Custom CSS */
/* Typography is supplied by the pinned shared theme; no external font import. */

:root {
    --primary-color: #4299e1;
    --primary-dark: #3182ce;
    --secondary-color: #667eea;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --danger-color: #f56565;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --background-white: #ffffff;
    --background-gray: #f7fafc;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --accent-color: #06b6d4;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--mft-font, system-ui, sans-serif);
    font-weight: 400;
    line-height: 1.47059;
    color: #333333;
    background-color: #f8f9fa;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mft-font, system-ui, sans-serif);
    font-weight: 600;
    line-height: 1.0909090909;
    margin-bottom: 0.8rem;
    letter-spacing: -0.003em;
    color: #2c3e50;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Navbar z-index fix - ensure dropdowns appear above KB sidebar */
.navbar {
    z-index: 10000 !important;
    position: relative;
}
.navbar .dropdown-menu {
    z-index: 10001 !important;
}

/* MyFloat Brand Colors */
.text-primary { color: #2c3e50 !important; }
.text-secondary { color: #7f8c8d !important; }
.text-accent { color: #3498db !important; }
.bg-primary { background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%) !important; }
.bg-secondary { background: #ecf0f1 !important; }

/* GLOBAL FIX: White text/icons on dark blue backgrounds - v20260131 */
/* Only target specific containers with dark backgrounds */
.dashboard-card .card-header,
.dashboard-card .card-header h5,
.dashboard-card .card-header h6,
.dashboard-card .card-header span,
.dashboard-card .card-header i,
.mobile-report-header,
.mobile-report-header div,
.mobile-report-header span {
    color: white !important;
}

/* GLOBAL FIX: All card headers with gradient backgrounds must have white text */
.card-header.text-white,
.card-header.text-white h1,
.card-header.text-white h2,
.card-header.text-white h3,
.card-header.text-white h4,
.card-header.text-white h5,
.card-header.text-white h6,
.card-header.text-white span:not(.badge),
.card-header.text-white i,
.card-header.text-white a,
.card-header.text-white small {
    color: #ffffff !important;
}

/* Badge styling for dark backgrounds */
.dashboard-card .card-header .badge {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
}

/* ADMIN INTERFACE BUTTON TEXT FIXES - v20250807 */
/* Navigation buttons in admin pages */
.nav-btn,
.nav-btn *,
.nav-actions .nav-btn,
.nav-actions .nav-btn *,
.navigation-banner .nav-btn,
.navigation-banner .nav-btn *,
a.nav-btn,
a.nav-btn *,
a.nav-btn i,
.nav-btn i {
    color: white !important;
    text-decoration: none !important;
}

.nav-btn:hover,
.nav-btn:hover *,
a.nav-btn:hover,
a.nav-btn:hover *,
a.nav-btn:focus,
a.nav-btn:focus *,
.nav-btn:focus,
.nav-btn:focus * {
    color: white !important;
    text-decoration: none !important;
}

/* Dashboard quick action buttons */
.quick-action-grid .quick-action-btn,
.quick-action-grid .quick-action-btn *,
.quick-action-grid .quick-action-btn h5,
.quick-action-grid .quick-action-btn p,
.quick-action-grid .quick-action-btn i,
.dashboard-actions .action-btn,
.dashboard-actions .action-btn *,
.dashboard-actions .action-btn h5,
.dashboard-actions .action-btn p,
.dashboard-actions .action-btn i {
    color: white !important;
    text-decoration: none !important;
}

.quick-action-grid .quick-action-btn:hover,
.quick-action-grid .quick-action-btn:hover *,
.dashboard-actions .action-btn:hover,
.dashboard-actions .action-btn:hover * {
    color: white !important;
    text-decoration: none !important;
}

/* Store dashboard specific buttons */
.store-admin-dashboard .nav-btn,
.store-admin-dashboard .nav-btn *,
.store-admin-dashboard .nav-actions .nav-btn,
.store-admin-dashboard .nav-actions .nav-btn *,
.store-admin-dashboard a.nav-btn,
.store-admin-dashboard a.nav-btn * {
    color: white !important;
    text-decoration: none !important;
}

/* Product admin page buttons */
.product-admin .nav-btn,
.product-admin .nav-btn *,
.product-admin .nav-actions .nav-btn,
.product-admin .nav-actions .nav-btn * {
    color: white !important;
    text-decoration: none !important;
}

/* Filter Info Icons */
.filter-info-icon {
    display: inline-block;
    cursor: help;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.filter-info-icon:hover {
    opacity: 1;
}

.filter-info-icon i {
    font-size: 0.75rem;
}

/* Enhanced Filter Status Display */
.filter-status-item {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.filter-status-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.filter-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.filter-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 12px;
    margin-right: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-icon {
    width: 40px;
    height: 40px;
}

.filter-info {
    flex: 1;
}

.filter-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.filter-status-content {
    margin-left: 76px;
}

.status-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.status-text {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Status Colors */
.status-indicator.status-ok .status-dot {
    background-color: #27ae60;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2);
}

.status-indicator.status-ok .status-text {
    color: #27ae60;
}

.status-indicator.status-due_soon .status-dot {
    background-color: #f39c12;
    box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.2);
}

.status-indicator.status-due_soon .status-text {
    color: #f39c12;
}

.status-indicator.status-overdue .status-dot {
    background-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.status-indicator.status-overdue .status-text {
    color: #e74c3c;
}

.filter-due-info {
    margin-top: 8px;
}

.due-date {
    font-size: 0.85rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
}

.due-date i {
    opacity: 0.7;
}

.filter-actions {
    margin-top: 20px;
}

.filter-actions .btn {
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.filter-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* MyFloat Navigation Styling */
.navbar-brand {
    font-family: var(--mft-font, system-ui, sans-serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.dashboard-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
    border-bottom: none;
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

/* Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-ok {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-due-soon {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-overdue {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-unknown {
    background-color: rgba(148, 163, 184, 0.1);
    color: var(--gray-500);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.status-active {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-maintenance {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-offline {
    background-color: rgba(107, 114, 128, 0.1);
    color: var(--gray-500);
    border: 1px solid rgba(107, 114, 128, 0.2);
}

/* Forms */
.form-control {
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background-color: var(--gray-600);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--gray-700);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-warning:hover {
    background: #dd6b20;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #e53e3e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}



/* Fix Refresh Data button to match Submit and Record buttons */
.dashboard-card .btn.w-100 {
    padding: 0.375rem 0.75rem; /* Bootstrap default btn padding */
    line-height: 1.5;
    min-height: auto;
}

.btn-info {
    background: var(--accent-color);
    color: white;
    /* Match the height of anchor tag buttons */
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
}

.btn-info:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Tables */
.table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table thead th {
    background-color: var(--gray-50);
    color: var(--gray-700);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    padding: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.table tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: var(--gray-50);
}

/* Alerts */
.alert {
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-left: 4px solid var(--danger-color);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border-left: 4px solid var(--warning-color);
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    color: #1e3a8a;
    border-left: 4px solid var(--secondary-color);
}

/* Statistics Cards */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    height: 120px; /* Consistent height for all stat cards */
    display: flex;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--mft-font, system-ui, sans-serif);
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Pod Grid */
.pod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pod-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.pod-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.pod-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.pod-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.pod-device-id {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-family: var(--mft-font-mono, monospace);
}

/* Filter Status */
.filter-status {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.filter-type {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.filter-due-date {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
}

/* Filter Change Form */
.filter-change-form {
    background: none !important;
}

.filter-change-form .form-group {
    background: none !important;
}

.filter-change-form .form-select,
.filter-change-form .form-control {
    background: white !important;
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.filter-change-form .form-select:focus,
.filter-change-form .form-control:focus {
    border-color: #3498db !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25) !important;
    outline: none !important;
}

.filter-change-form .form-label {
    color: #2c3e50 !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.filter-change-form .input-group-text {
    background: #f8f9fa !important;
    border: 2px solid #e9ecef !important;
    border-right: none !important;
    color: #7f8c8d !important;
}

.filter-change-form .btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
    border: none !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.filter-change-form .btn-warning:hover {
    background: linear-gradient(135deg, #e67e22, #d35400) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.2) !important;
}

/* Remove any circular backgrounds */
.form-group::before,
.form-group::after,
.form-select::before,
.form-select::after,
.form-control::before,
.form-control::after {
    display: none !important;
}

/* Reading Display */
.reading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.reading-item {
    text-align: center;
    padding: 1rem;
    background-color: var(--gray-50);
    border-radius: 8px;
}

.reading-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--mft-font, system-ui, sans-serif);
}

.reading-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reading-unit {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .pod-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .reading-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-status {
        flex-direction: column;
        gap: 0.5rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .reading-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card .card-header,
    .dashboard-card .card-body {
        padding: 1rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 400px;
    margin-top: 2rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Member Required Text */
.member-required-text {
    color: #7f8c8d;
    font-size: 0.9em;
    font-weight: 500;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-align: center;
    display: inline-block;
    margin-top: 8px;
    min-width: 120px;
}

/* Filter Icons */
.filter-block-icon,
.filter-bag-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.filter-block-icon:hover,
.filter-bag-icon:hover {
    transform: scale(1.1);
}

/* Filter Statistics Cards */
.stat-card .d-flex {
    width: 100%;
    height: 100%;
}

/* Filter Information List */
.filter-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-info-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.filter-info-item:last-child {
    border-bottom: none;
}

.filter-info-item span {
    font-size: 0.9rem;
    color: #2c3e50;
    white-space: nowrap;
}

/* Navigation Buttons with Clean White Text for Accessibility */
.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    /* Clean white text for better contrast on dark backgrounds */
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    text-decoration: none;

    /* Enhanced shadow on hover for depth */
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.nav-btn.active {
    background: #e74c3c !important;
    color: #ffffff !important;
    text-shadow: none;
}

.nav-btn.active:hover {
    background: #c0392b !important;
    color: #ffffff !important;
    text-shadow: none;
}

/* Retained source: premium-animations.css */
/* Premium Animation System for MyFloat Portal - Flask Version */

/* MyFloat Navigation Banner */
.navigation-banner {
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
    overflow: hidden;
    width: 100%;
}

.navigation-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.banner-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.banner-title {
    text-align: center;
    margin-bottom: 2rem;
}

.banner-title h1 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.banner-title p {
    color: rgba(255,255,255,0.9);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    letter-spacing: -0.008em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-navigation {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.6rem;
    background: rgba(255,255,255,0.15);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 980px;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;

    /* Crisp text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.nav-btn:hover::before {
    width: 200px;
    height: 200px;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    color: #ffffff !important;
    text-decoration: none;
    border-color: rgba(255,255,255,0.3);
}

.nav-btn.active {
    background: #ffffff;
    color: #1e3a5f !important;
    box-shadow: 0 2px 8px rgba(255,255,255,0.3);
    border-color: #1e3a5f;
}

.nav-btn.active:hover {
    background: #f8f9fa;
    color: #1e3a5f !important;
    border-color: #1e3a5f;
}

.nav-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* MyFloat Card Layout */
.card, .pod-card, .dashboard-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: saturate(180%) blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before, .pod-card::before, .dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.card:hover::before, .pod-card:hover::before, .dashboard-card:hover::before {
    transform: translateX(100%);
}

.card:hover, .pod-card:hover, .dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Enhanced Button Styles */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-primary {
    background: #3498db;
    border: none;
    border-radius: 980px;
    padding: 0.8rem 1.6rem;
    font-weight: 400;
    letter-spacing: -0.022em;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(52,152,219,0.3);
}

.btn-success {
    background: #e74c3c;
    border: none;
    border-radius: 980px;
    padding: 0.8rem 1.6rem;
    font-weight: 400;
    letter-spacing: -0.022em;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-success:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(231,76,60,0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

/* MyFloat Order Button Styles */
.order-btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background: #e74c3c;
    color: white !important;
    text-decoration: none;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(231,76,60,0.3);
    letter-spacing: -0.022em;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
}

.order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.order-btn:hover::before {
    left: 100%;
}

.order-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(231,76,60,0.4);
    color: white !important;
    text-decoration: none;
}

.order-btn:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Pulse Animation for Active Elements */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

.nav-btn.active {
    animation: pulse 2s infinite;
}

/* Enhanced Form Animations */
.form-group {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control {
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid #bdc3c7;
    background: #ffffff;
    padding: 0.9rem 1.2rem;
    transition: all 0.3s ease;
    letter-spacing: -0.022em;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
    outline: none;
    transform: translateY(-1px);
}

/* Status Badge Animations */
.badge {
    transition: all 0.3s ease;
    position: relative;
}

.badge:hover {
    transform: scale(1.05);
}

.badge-danger {
    animation: urgentPulse 2s infinite;
}

@keyframes urgentPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Enhanced Notification Styles */
.alert {
    animation: slideInRight 0.4s ease-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Shimmer Effect */
@keyframes loading {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: loading 1.5s infinite;
}

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
    .banner-content {
        padding: 0 1rem;
    }

    .navigation-banner {
        padding: 1.5rem 0;
    }

    .banner-title h1 {
        font-size: 2.5rem;
    }

    .banner-title p {
        font-size: 1.1rem;
    }

    .banner-navigation {
        justify-content: center;
    }

    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .order-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }

    .dashboard-container,
    .container-fluid {
        padding: 0 1rem;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Better Accessibility */
.nav-btn:focus, .btn:focus, .order-btn:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6b42a1);
}
