
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #1a1a1a;
            min-height: 100vh;
            color: #f8fafc;
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
        }
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('https://bramirezhack-donotdelete.s3.us-west-2.amazonaws.com/DCB+Lobby+Shot.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            opacity: 0.55;
            pointer-events: none;
            z-index: -1;
        }
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(152, 25, 35, 0.05) 0%, rgba(31, 31, 31, 0.1) 100%);
            pointer-events: none;
            z-index: -1;
        }
        .navbar {
            background: rgba(31, 31, 31, 0.9);
            backdrop-filter: blur(24px) saturate(180%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 24px 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .nav-container {
            max-width: 1600px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 40px;
        }
        /* Proxy button styles */
        .proxy-button {
            background: rgba(255, 255, 255, 0.1) !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            color: #e2e8f0 !important;
        }
        
        /* Modern Proxy Button Styles */
        .proxy-button {
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            border-radius: 12px !important;
            padding: 10px 16px !important;
            font-size: 14px !important;
            font-weight: 500 !important;
            color: #e2e8f0 !important;
            backdrop-filter: blur(10px) !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }
        
        .proxy-button:hover {
            background: rgba(255, 255, 255, 0.1) !important;
            border-color: rgba(255, 255, 255, 0.2) !important;
            transform: translateY(-1px) !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        }
        
        /* Light mode proxy button */
        body.light-mode .proxy-button {
            background: rgba(0, 0, 0, 0.05) !important;
            border: 1px solid rgba(0, 0, 0, 0.1) !important;
            color: #1f2937 !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        }
        
        body.light-mode .proxy-button:hover {
            background: rgba(0, 0, 0, 0.1) !important;
            border-color: rgba(0, 0, 0, 0.2) !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        }
        
        /* Proxy Audit Information Styles */
        .proxy-audit-info {
            background: rgba(245, 158, 11, 0.1);
            border-left: 3px solid #f59e0b;
            padding: 8px 12px;
            margin: 8px 0;
            border-radius: 4px;
            font-size: 13px;
        }
        
        .proxy-audit-info i {
            color: #f59e0b;
        }
        
        .proxy-audit-info strong {
            color: #92400e;
        }
        
        /* Light mode proxy audit info */
        body.light-mode .proxy-audit-info {
            background: rgba(245, 158, 11, 0.15);
            border-left-color: #d97706;
        }
        
        body.light-mode .proxy-audit-info strong {
            color: #78350f;
        }
        
        body.light-mode .proxy-audit-info i {
            color: #d97706;
        }
        
        /* Compact Report Card Proxy Styles */
        .compact-proxy-info {
            margin-top: 4px;
            display: flex;
            align-items: center;
            font-weight: 500;
        }
        
        .compact-owner-info {
            margin-top: 4px;
            font-weight: 400;
        }
        
        .compact-report-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        
        /* Light mode compact proxy styles */
        body.light-mode .compact-proxy-info span {
            color: #d97706 !important;
        }
        
        body.light-mode .compact-proxy-info i {
            color: #d97706 !important;
        }
        
        body.light-mode .compact-owner-info span {
            color: #6b7280 !important;
        }
        
        /* Reports Table View Styles */
        .reports-table-container {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .view-toggle {
            display: flex;
            gap: 8px;
        }
        
        .view-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #94a3b8;
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .view-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            color: #e2e8f0;
        }
        
        .view-btn.active {
            background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
            color: white;
            border-color: #991b1b;
        }
        
        .reports-audit-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 16px;
        }
        
        .reports-audit-table th {
            background: rgba(255, 255, 255, 0.1);
            color: #e2e8f0;
            font-weight: 600;
            padding: 12px 16px;
            text-align: left;
            border-bottom: 2px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
        }
        
        .reports-audit-table td {
            padding: 12px 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            color: #e2e8f0;
            font-size: 14px;
        }
        
        .reports-audit-table tr:hover {
            background: rgba(255, 255, 255, 0.05);
        }
        
        .table-action-btn {
            background: rgba(34, 197, 94, 0.2);
            border: 1px solid rgba(34, 197, 94, 0.3);
            color: #22c55e;
            padding: 6px 12px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 12px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .table-action-btn:hover {
            background: rgba(34, 197, 94, 0.3);
            transform: translateY(-1px);
        }
        
        .table-responsive {
            overflow-x: auto;
        }
        
        /* Light mode table styles */
        body.light-mode .reports-table-container {
            background: rgba(0, 0, 0, 0.05);
            border-color: rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .view-btn {
            background: rgba(0, 0, 0, 0.1);
            border-color: rgba(0, 0, 0, 0.2);
            color: #6b7280;
        }
        
        body.light-mode .view-btn:hover {
            background: rgba(0, 0, 0, 0.15);
            color: #374151;
        }
        
        body.light-mode .reports-audit-table th {
            background: rgba(0, 0, 0, 0.1);
            color: #374151;
            border-bottom-color: rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .reports-audit-table td {
            color: #374151;
            border-bottom-color: rgba(0, 0, 0, 0.05);
        }
        
        body.light-mode .reports-audit-table tr:hover {
            background: rgba(0, 0, 0, 0.05);
        }
        
        body.light-mode .table-action-btn {
            background: rgba(34, 197, 94, 0.15);
            border-color: rgba(34, 197, 94, 0.3);
            color: #16a34a;
        }
        
        body.light-mode .table-action-btn:hover {
            background: rgba(34, 197, 94, 0.25);
        }
        
        @media (max-width: 768px) {
            .navbar {
                padding: 12px 0;
            }
            .nav-container {
                padding: 0 16px;
            }
            #proxySelector button {
                max-width: 120px !important;
                font-size: 12px !important;
                padding: 4px 8px !important;
            }
            #proxyButtonText {
                font-size: 11px !important;
            }
            .nav-brand {
                font-size: 18px;
            }
            .nav-links {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                background: rgba(31, 31, 31, 0.95);
                backdrop-filter: blur(24px);
                padding: 8px;
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                border-radius: 0;
                z-index: 1000;
                justify-content: space-around;
            }
            .nav-link {
                flex: 1;
                text-align: center;
                padding: 12px 8px;
                font-size: 11px;
                border-radius: 8px;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 4px;
            }
            .nav-link::before {
                content: '🏠';
                font-size: 16px;
            }
            .nav-link[onclick*="approvals"]::before {
                content: '⏰';
            }
            .nav-link[onclick*="reports"]::before {
                content: '📊';
            }
            body {
                padding-bottom: 80px;
            }
        }
        .nav-brand {
            display: flex;
            align-items: center;
            font-size: 32px;
            font-weight: 800;
            background: linear-gradient(135deg, #C19A6B 0%, #C19A6B 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.5px;
            line-height: 32px;
        }
        
        /* Theme Toggle Styles */
        .theme-toggle {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100px;
            height: 30px;
            position: relative;
            display: flex;
            align-items: center;
        }
        
        .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.3);
        }
        
        .toggle-slider {
            background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
            border-radius: 50%;
            width: 22px;
            height: 22px;
            transition: transform 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            left: 4px;
        }
        
        .toggle-icon {
            color: white;
            font-size: 11px;
            transition: all 0.3s ease;
        }
        
        /* Light mode theme toggle */
        body.light-mode .theme-toggle {
            background: rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(0, 0, 0, 0.3);
        }
        
        body.light-mode .theme-toggle:hover {
            background: rgba(0, 0, 0, 0.15);
            border-color: rgba(0, 0, 0, 0.4);
        }
        
        body.light-mode .toggle-slider {
            transform: translateX(70px);
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        }
        
        body.light-mode .toggle-icon {
            color: white;
        }
        
        body.light-mode .toggle-icon i {
            transform: rotate(180deg);
        }
        
        /* New Theme Flip Switch */
        .theme-flip-switch {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 8px 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            color: #e2e8f0;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            height: 36px;
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .theme-flip-switch:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        .theme-flip-switch i {
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .theme-label {
            font-size: 13px;
            font-weight: 600;
            white-space: nowrap;
            transition: all 0.3s ease;
        }
        
        /* Light mode flip switch */
        body.light-mode .theme-flip-switch {
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1f2937;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        body.light-mode .theme-flip-switch:hover {
            background: rgba(0, 0, 0, 0.1);
            border-color: rgba(0, 0, 0, 0.2);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .theme-flip-switch i {
            transform: rotate(180deg);
        }
        .nav-links {
            display: flex;
            gap: 8px;
            background: rgba(255, 255, 255, 0.05);
            padding: 6px;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-link {
            padding: 12px 24px;
            background: none;
            border: none;
            color: #94a3b8;
            font-weight: 500;
            cursor: pointer;
            border-radius: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            font-size: 14px;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-link i {
            font-size: 16px;
            transition: transform 0.3s ease;
        }
        .nav-link:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #e2e8f0;
            transform: translateY(-1px);
        }
        .nav-link:hover i {
            transform: scale(1.1);
        }
        .nav-link.active {
            background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
            color: white;
            box-shadow: 0 8px 32px rgba(127, 29, 29, 0.3);
        }
        .notification {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-left: 8px;
        }
        .notification-dot {
            width: 8px;
            height: 8px;
            background: #ef4444;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        .approved-dot {
            background: #22c55e;
        }
        .notification-count {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
            font-size: 11px;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 10px;
            min-width: 16px;
            text-align: center;
            line-height: 1.2;
        }
        .approved .notification-count {
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
        }
        @keyframes bounce {
            0%, 100% { transform: translateY(0) scale(1); }
            50% { transform: translateY(-2px) scale(1.05); }
        }
        body.light-mode .badge {
            border: 2px solid rgba(255, 255, 255, 0.9);
        }
        .approved-badge {
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
            animation: bounce 1s ease-in-out;
        }
        @keyframes bounce {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }

        /* Theme Toggle Styles */
        .theme-toggle {
            width: 60px;
            height: 32px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .toggle-slider {
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            position: absolute;
            top: 2px;
            left: 2px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }
        .toggle-icon {
            font-size: 14px;
            transition: all 0.3s ease;
        }
        .toggle-icon i {
            color: white;
        }

        /* Light Mode Styles */
        body.light-mode {
            background: #f8fafc;
            color: #1e293b;
        }
        body.light-mode::before {
            opacity: 0.1;
        }
        body.light-mode::after {
            background: linear-gradient(135deg, rgba(152, 25, 35, 0.02) 0%, rgba(31, 31, 31, 0.05) 100%);
        }
        body.light-mode .navbar {
            background: rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }
        body.light-mode .nav-brand {
            background: linear-gradient(135deg, #C19A6B 0%, #8B4513 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        body.light-mode .nav-links {
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        body.light-mode .nav-link {
            color: #64748b;
        }
        body.light-mode .nav-link:hover {
            background: rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        body.light-mode .nav-link.active {
            background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
            color: white;
        }
        body.light-mode .toggle-slider {
            left: 30px;
        }
        body.light-mode .toggle-icon i {
            color: white;
        }
        body.light-mode .theme-toggle {
            background: rgba(0, 0, 0, 0.1);
        }
        body.light-mode .container {
            background: rgba(255, 255, 255, 0.02);
        }
        body.light-mode .card {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        body.light-mode .section {
            background: rgba(255, 255, 255, 0.05);
        }
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        .container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 20px;
        }
        @media (max-width: 768px) {
            .container {
                padding: 12px;
            }
            .section {
                padding: 16px;
                margin-bottom: 16px;
            }
            .card {
                padding: 16px;
                border-radius: 12px;
            }
            .form-group {
                margin-bottom: 12px;
            }
            input, select {
                padding: 12px 16px;
            }
            button {
                padding: 12px 24px;
                font-size: 13px;
            }
        }
        .page {
            display: none;
            animation: fadeIn 0.5s ease-out;
        }
        .page.active {
            display: block;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .theme-toggle {
            width: 60px;
            height: 32px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .toggle-slider {
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
            border-radius: 50%;
            position: absolute;
            top: 2px;
            left: 2px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }
        .toggle-icon {
            font-size: 14px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .toggle-icon i {
            color: white;
        }
        body.light-mode {
            background: linear-gradient(135deg, #E8D5C4 0%, #D9C4B0 100%);
            color: #1e293b;
        }
        body.light-mode::before {
            background-image: url('https://bramirezhack-donotdelete.s3.us-west-2.amazonaws.com/DCB+Lobby+Shot.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            opacity: 0.45;
        }
        body.light-mode::after {
            background: linear-gradient(135deg, rgba(232, 213, 196, 0.15) 0%, rgba(217, 196, 176, 0.2) 100%);
            opacity: 1;
        }
        body.light-mode .navbar {
            background: rgba(250, 247, 242, 0.9);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }
        body.light-mode .nav-brand {
            background: linear-gradient(135deg, #C19A6B 0%, #C19A6B 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        body.light-mode #galloLogo {
            filter: brightness(0.4) sepia(1) saturate(3) hue-rotate(10deg) !important;
        }
        body.light-mode .nav-links {
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        body.light-mode .nav-link {
            color: #64748b;
        }
        body.light-mode .nav-link:hover {
            background: rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        body.light-mode .nav-link.active {
            background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
            color: white;
            box-shadow: 0 8px 32px rgba(127, 29, 29, 0.3);
        }
        body.light-mode .card {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        body.light-mode .section {
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        body.light-mode h1, body.light-mode h2 {
            color: #7f1d1d;
            background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        body.light-mode label {
            color: #475569;
        }
        body.light-mode input, body.light-mode select, body.light-mode textarea {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        body.light-mode input[readonly] {
            background: rgba(0, 0, 0, 0.05) !important;
            color: #64748b !important;
        }
        body.light-mode table {
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        body.light-mode th {
            background: rgba(0, 0, 0, 0.05);
            color: #475569;
        }
        body.light-mode td {
            color: #1e293b;
        }
        body.light-mode tr:hover {
            background: rgba(0, 0, 0, 0.02);
        }
        body.light-mode .toggle-slider {
            left: 30px;
        }
        body.light-mode .toggle-icon i {
            color: white;
        }
        body.light-mode .theme-toggle {
            background: rgba(0, 0, 0, 0.1);
        }
        h1 { 
            text-align: center; 
            margin-bottom: 30px; 
            color: #333;
            font-size: 28px;
            font-weight: 600;
        }
        .section { 
            margin-bottom: 32px; 
            padding: 32px; 
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(20px);
            border-radius: 24px; 
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }
        .grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); 
            gap: 24px; 
        }
        @media (max-width: 768px) {
            .grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .expense-grid {
                grid-template-columns: 1fr !important;
            }
        }
        .expense-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-top: 20px;
        }
        .card { 
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(20px);
            padding: 32px; 
            border-radius: 20px; 
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        @media (max-width: 768px) {
            .card {
                padding: 20px;
                border-radius: 16px;
            }
        }
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        }
        .card:hover {
            transform: translateY(-4px);
            box-shadow: 0 32px 64px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.2);
        }
        
        /* Delegate Results Dropdown */
        .delegate-results-dropdown {
            max-height: 200px;
            overflow-y: auto;
            margin-top: 8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            background: rgba(0, 0, 0, 0.3);
        }
        
        body.light-mode .delegate-results-dropdown {
            border: 1px solid rgba(0, 0, 0, 0.15);
            background: rgba(255, 255, 255, 0.9);
        }
        .section h2 { margin-bottom: 15px; color: #333; font-size: 20px; }
        h1 { 
            text-align: center; 
            margin-bottom: 48px; 
            color: #E8D5C4;
            font-size: 48px;
            font-weight: 800;
            letter-spacing: -1px;
            background: linear-gradient(135deg, #E8D5C4 0%, #D9C4B0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        @media (max-width: 768px) {
            h1 {
                font-size: 24px;
                margin-bottom: 16px;
            }
            h2 {
                font-size: 18px;
                margin-bottom: 12px;
            }
            .card h2 {
                font-size: 16px;
                margin-bottom: 12px;
            }
        }
        h2 { 
            margin-bottom: 24px; 
            color: #E8D5C4; 
            font-size: 24px;
            font-weight: 700;
            letter-spacing: -0.5px;
        }
        .card h2 {
            margin-bottom: 20px;
            color: #E8D5C4;
            font-size: 20px;
            font-weight: 600;
            text-align: center;
        }
        .form-group { margin-bottom: 20px; }
        label { 
            display: block; 
            margin-bottom: 8px; 
            font-weight: 500;
            color: #e2e8f0;
            font-size: 14px;
            letter-spacing: 0.025em;
        }
        input, select { 
            width: 100%; 
            padding: 16px 20px; 
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1); 
            border-radius: 12px; 
            font-size: 14px;
            color: #f8fafc;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
        }
        input[readonly] {
            background: rgba(255, 255, 255, 0.1) !important;
            color: #cbd5e1 !important;
            cursor: not-allowed;
        }
        input:focus, select:focus { 
            outline: none; 
            border-color: #7f1d1d;
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 3px rgba(127, 29, 29, 0.1);
            transform: translateY(-1px);
        }
        input::placeholder, textarea::placeholder {
            color: #64748b;
        }
        
        body.light-mode input::placeholder, 
        body.light-mode textarea::placeholder {
            color: #94a3b8;
        }
        button { 
            padding: 16px 32px; 
            background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
            color: white; 
            border: none; 
            border-radius: 12px; 
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            margin-right: 12px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(127, 29, 29, 0.3);
        }
        button::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;
        }
        button:hover::before {
            left: 100%;
        }
        button:hover { 
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(127, 29, 29, 0.4);
        }
        button:active {
            transform: translateY(0);
        }
        button:disabled { 
            opacity: 0.5; 
            cursor: not-allowed; 
            transform: none;
            box-shadow: none;
        }
        #messages {
            position: sticky;
            top: 80px;
            z-index: 999;
            animation: slideDown 0.3s ease-out;
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .success { 
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            color: #e2e8f0; 
            padding: 20px; 
            border-radius: 16px; 
            margin: 0 0 20px 0;
            border: 1px solid rgba(255, 255, 255, 0.1);
            font-weight: 600;
            font-size: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }
        .success strong {
            color: #f8fafc;
        }
        body.light-mode .success {
            background: rgba(255, 255, 255, 0.8);
            color: #1e293b;
            border: 1px solid rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }
        body.light-mode .success strong {
            color: #0f172a;
        }
        .error { 
            background: rgba(239, 68, 68, 0.15); 
            backdrop-filter: blur(20px);
            color: #94a3b8; 
            padding: 20px; 
            border-radius: 16px; 
            margin: 0 0 20px 0;
            border: 1px solid rgba(239, 68, 68, 0.3);
            font-weight: 600;
            font-size: 16px;
            box-shadow: 0 8px 32px rgba(239, 68, 68, 0.2);
        }
        .error strong {
            color: #cbd5e1;
        }
        body.light-mode .error {
            background: rgba(239, 68, 68, 0.15);
            color: #991b1b;
            border: 1px solid rgba(239, 68, 68, 0.4);
            box-shadow: 0 4px 16px rgba(239, 68, 68, 0.15);
        }
        body.light-mode .error strong {
            color: #7f1d1d;
        }
        .user-info { 
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(20px);
            color: #f8fafc; 
            padding: 20px; 
            border-radius: 16px; 
            margin: 20px 0;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .expense-item { 
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(20px);
            padding: 15px; 
            border-radius: 16px; 
            margin: 10px 0; 
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #f8fafc;
        }
        .expense-summary { 
            background: rgba(59, 130, 246, 0.1); 
            color: #60a5fa;
            padding: 15px; 
            border-radius: 16px; 
            margin: 15px 0;
            border: 1px solid rgba(59, 130, 246, 0.2);
            backdrop-filter: blur(10px);
        }
        body.light-mode .user-info {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        body.light-mode .expense-item {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        body.light-mode .expense-summary {
            background: rgba(59, 130, 246, 0.1);
            color: #2563eb;
            border: 1px solid rgba(59, 130, 246, 0.2);
        }
        .hidden { display: none; }
        .flex { display: flex; gap: 20px; align-items: end; }
        .flex .form-group { flex: 1; }
        @media (max-width: 768px) {
            .flex {
                flex-direction: column;
                gap: 16px;
                align-items: stretch;
            }
        }
        table { 
            width: 100%; 
            border-collapse: collapse; 
            margin: 20px 0;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 13px;
        }
        @media (max-width: 768px) {
            table {
                font-size: 11px;
            }
            th, td {
                padding: 6px 8px;
            }
            .report-card {
                padding: 12px;
                margin: 8px 0;
            }
            .fraud-alert {
                padding: 8px;
                margin: 8px 0;
                font-size: 12px;
            }
            
            /* Enhanced Mobile Optimizations */
            body {
                font-size: 14px;
                -webkit-text-size-adjust: 100%;
            }
            
            .container {
                padding: 8px;
                padding-bottom: 80px; /* Space for bottom nav */
            }
            
            .page {
                padding: 12px 8px;
            }
            
            /* Mobile-friendly buttons */
            button {
                min-height: 44px; /* iOS touch target */
                padding: 12px 20px;
                font-size: 14px;
            }
            
            /* Mobile-friendly inputs */
            input, select, textarea {
                min-height: 44px;
                font-size: 16px; /* Prevents iOS zoom */
                padding: 10px 12px;
            }
            
            /* Mobile navigation improvements */
            .nav-links {
                padding: 8px 0;
                box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            }
            
            .nav-link {
                padding: 8px 4px;
                font-size: 11px;
            }
            
            .nav-link i {
                font-size: 20px;
            }
            
            .nav-link span {
                font-size: 10px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: 100%;
            }
            
            /* Mobile card improvements */
            .card {
                padding: 16px;
                margin-bottom: 16px;
                border-radius: 12px;
            }
            
            /* Mobile form improvements */
            .form-group {
                margin-bottom: 16px;
            }
            
            .form-group label {
                font-size: 13px;
                margin-bottom: 6px;
            }
            
            /* Mobile table improvements - make scrollable */
            .table-container {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                margin: 0 -8px;
                padding: 0 8px;
            }
            
            table {
                min-width: 600px; /* Ensure table doesn't squish */
            }
            
            /* Mobile expense cards - stack vertically */
            .expense-item {
                display: flex;
                flex-direction: column;
                gap: 8px;
                padding: 12px;
                background: rgba(255,255,255,0.05);
                border-radius: 8px;
                margin-bottom: 12px;
            }
            
            /* Mobile report cards */
            .report-card {
                padding: 16px;
                margin: 12px 0;
            }
            
            .report-card h3 {
                font-size: 16px;
            }
            
            /* Mobile modal improvements */
            .modal-content {
                width: 95% !important;
                max-width: 95% !important;
                margin: 10px auto;
                max-height: 90vh;
                overflow-y: auto;
            }
            
            /* Mobile badge improvements */
            .badge {
                font-size: 10px;
                padding: 3px 8px;
                min-width: 20px;
            }
            
            /* Mobile stats improvements */
            .stat-card {
                padding: 12px;
                min-height: auto;
            }
            
            .stat-card h3 {
                font-size: 20px;
            }
            
            .stat-card p {
                font-size: 11px;
            }
            
            /* Hide desktop-only elements on mobile */
            .desktop-only {
                display: none !important;
            }
            
            /* Mobile-specific spacing */
            h2 {
                font-size: 18px;
                margin-bottom: 12px;
            }
            
            h3 {
                font-size: 16px;
            }
            
            /* Mobile pagination */
            .pagination {
                flex-wrap: wrap;
                gap: 8px;
                justify-content: center;
            }
            
            .pagination button {
                min-width: 40px;
                padding: 8px 12px;
                font-size: 13px;
            }
            
            /* Mobile filter improvements */
            .report-filters {
                flex-direction: column;
                gap: 12px;
            }
            
            .filter-group {
                width: 100%;
            }
            
            /* Mobile expense editor improvements */
            #expenseEditor {
                padding: 12px;
            }
            
            #expenseEditor h2 {
                font-size: 18px;
            }
            
            /* Mobile receipt preview */
            #imagePreview img {
                max-height: 200px;
            }
            
            /* Touch-friendly close buttons */
            .close-btn {
                min-width: 44px;
                min-height: 44px;
                font-size: 24px;
            }
            
            /* Mobile delegation improvements */
            #delegateResults {
                max-height: 150px;
            }
            
            /* Improve touch scrolling */
            * {
                -webkit-overflow-scrolling: touch;
            }
            
            /* Mobile budget modal */
            #budgetModal .modal-content {
                padding: 16px;
            }
            
            /* Stack action buttons vertically on mobile */
            .action-buttons {
                flex-direction: column;
                gap: 12px;
            }
            
            .action-buttons button {
                width: 100%;
            }
        }
        th, td { 
            padding: 12px 16px; 
            text-align: left; 
            border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
        }
        th { 
            background: rgba(255, 255, 255, 0.15); 
            font-weight: 600;
            color: #f1f5f9;
            font-size: 14px;
            letter-spacing: 0.025em;
        }
        td {
            color: #f8fafc;
        }
        tr:hover {
            background: rgba(255, 255, 255, 0.02);
        }
        .delete-btn { background: #dc3545; padding: 5px 10px; font-size: 12px; }
        .approve-btn { background: #28a745; padding: 8px 16px; font-size: 12px; margin-right: 5px; }
        .reject-btn { background: #dc3545; padding: 8px 16px; font-size: 12px; }
        .status-approved { color: #4ade80; font-weight: bold; }
        .status-rejected { color: #64748b; font-weight: bold; }
        .status-pending { color: #fbbf24; font-weight: bold; }
        body.light-mode .status-approved { color: #16a34a; }
        body.light-mode .status-rejected { color: #dc2626; }
        body.light-mode .status-pending { color: #d97706; }
        .report-card { 
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2); 
            border-radius: 16px; 
            padding: 20px; 
            margin: 15px 0;
            color: #f8fafc;
        }
        .report-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
        .comments-box { 
            width: 100%; 
            padding: 12px; 
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1); 
            border-radius: 12px; 
            margin: 10px 0;
            color: #f8fafc;
            backdrop-filter: blur(10px);
        }
        .fraud-alert { 
            background: rgba(251, 191, 36, 0.15); 
            border: 1px solid rgba(251, 191, 36, 0.3); 
            border-radius: 16px; 
            padding: 20px; 
            margin: 15px 0;
            color: #64748b;
            backdrop-filter: blur(10px);
        }
        .fraud-alert strong {
            color: #fef3c7;
        }
        .fraud-high { 
            background: rgba(239, 68, 68, 0.15); 
            border-color: rgba(239, 68, 68, 0.3);
            color: #94a3b8;
        }
        .fraud-high strong {
            color: #cbd5e1;
        }
        .fraud-medium { 
            background: rgba(251, 191, 36, 0.15); 
            border-color: rgba(251, 191, 36, 0.3);
            color: #64748b;
        }
        .fraud-medium strong {
            color: #fef3c7;
        }
        .fraud-low { 
            background: rgba(34, 197, 94, 0.15); 
            border-color: rgba(34, 197, 94, 0.3);
            color: #86efac;
        }
        .fraud-low strong {
            color: #bbf7d0;
        }
        .fraud-score { 
            font-size: 18px; 
            font-weight: bold; 
            margin-bottom: 8px;
        }
        .fraud-flags { margin-top: 10px; }
        .fraud-flag { 
            background: rgba(255, 255, 255, 0.15); 
            color: #e2e8f0;
            padding: 6px 12px; 
            border-radius: 8px; 
            font-size: 12px; 
            margin: 4px; 
            display: inline-block;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .fraud-historical {
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 13px;
            opacity: 0.9;
        }
        .auto-approved { 
            background: rgba(34, 197, 94, 0.1); 
            border: 1px solid rgba(34, 197, 94, 0.2); 
            color: #4ade80;
        }
        .status-auto-approved { color: #4ade80; font-weight: bold; }
        .dashboard-summary { 
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            color: #e2e8f0;
            padding: 24px; 
            border-radius: 16px; 
            margin: 20px 0; 
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin: 15px 0; }
        .summary-card { 
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            padding: 20px; 
            border-radius: 16px; 
            text-align: center; 
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #e2e8f0;
        }
        .summary-number { font-size: 24px; font-weight: bold; color: #60a5fa; }
        .summary-label { font-size: 12px; color: #94a3b8; margin-top: 5px; }
        
        /* Light mode styles */
        body.light-mode .report-card {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        body.light-mode .comments-box {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        body.light-mode .fraud-alert {
            background: rgba(251, 191, 36, 0.15);
            border: 1px solid rgba(251, 191, 36, 0.4);
            color: #92400e;
        }
        body.light-mode .fraud-alert strong {
            color: #78350f;
        }
        body.light-mode .fraud-high {
            background: rgba(239, 68, 68, 0.15);
            border-color: rgba(239, 68, 68, 0.4);
            color: #991b1b;
        }
        body.light-mode .fraud-high strong {
            color: #7f1d1d;
        }
        body.light-mode .fraud-medium {
            background: rgba(251, 191, 36, 0.15);
            border-color: rgba(251, 191, 36, 0.4);
            color: #92400e;
        }
        body.light-mode .fraud-medium strong {
            color: #78350f;
        }
        body.light-mode .fraud-low {
            background: rgba(34, 197, 94, 0.15);
            border-color: rgba(34, 197, 94, 0.4);
            color: #14532d;
        }
        body.light-mode .fraud-low strong {
            color: #052e16;
        }
        body.light-mode .fraud-flag {
            background: rgba(0, 0, 0, 0.08);
            color: #475569;
            border: 1px solid rgba(0, 0, 0, 0.15);
        }
        body.light-mode .fraud-historical {
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            color: #64748b;
        }
        body.light-mode .auto-approved {
            background: rgba(34, 197, 94, 0.1);
            border: 1px solid rgba(34, 197, 94, 0.3);
            color: #16a34a;
        }
        body.light-mode .status-auto-approved { color: #16a34a; }
        body.light-mode .dashboard-summary {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        body.light-mode .summary-card {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        body.light-mode .summary-number { color: #2563eb; }
        body.light-mode .summary-label { color: #64748b; }
        
        /* Cost Center Breakdown Styles */
        /* Budget Tracker Styles */
        .budget-tracker {
            margin-top: 24px;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            border-radius: 16px;
            padding: 24px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .budget-tracker h4 {
            margin: 0;
            color: #f8fafc;
            font-size: 20px;
            font-weight: 600;
        }
        
        .budget-set-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .budget-set-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
        }
        
        .budget-progress-bar {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            height: 12px;
            overflow: hidden;
        }
        
        .budget-progress-fill {
            height: 100%;
            transition: width 0.5s ease;
        }
        
        body.light-mode .budget-tracker {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .budget-tracker h4 {
            color: #1e293b;
        }
        
        body.light-mode .budget-set-btn {
            box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
        }
        
        body.light-mode .budget-set-btn:hover {
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
        }
        
        body.light-mode .budget-progress-bar {
            background: rgba(0, 0, 0, 0.1);
        }
        
        .cost-center-breakdown {
            margin: 20px 0;
            padding: 20px;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .cost-center-title {
            color: #C19A6B;
            margin-bottom: 15px;
            font-size: 16px;
            font-weight: 600;
        }
        body.light-mode .cost-center-breakdown {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        body.light-mode .cost-center-title {
            color: #7f1d1d;
        }
        
        /* Draft Reports Enhanced Styling */
        .section-title {
            color: #C19A6B !important;
            font-size: 28px !important;
            font-weight: 700 !important;
            margin-bottom: 24px !important;
            text-align: center !important;
        }
        body.light-mode .section-title {
            color: #7f1d1d !important;
        }
        
        .draft-report-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 24px;
            margin: 20px 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        .draft-report-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        }
        .draft-report-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.2);
        }
        
        .draft-report-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
        }
        
        .draft-report-info {
            flex: 1;
        }
        
        .draft-report-title {
            color: #C19A6B;
            font-size: 20px;
            font-weight: 600;
            margin: 0 0 8px 0;
            line-height: 1.3;
        }
        
        .draft-report-date {
            color: #94a3b8;
            font-size: 14px;
            margin: 0;
        }
        
        .draft-status-badge {
            background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
            color: white;
            padding: 8px 16px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
        }
        
        .draft-report-details {
            margin-bottom: 20px;
        }
        
        .draft-report-details p {
            color: #cbd5e1;
            margin: 8px 0;
            font-size: 14px;
        }
        
        .draft-report-details strong {
            color: #e2e8f0;
        }
        
        .edit-report-btn {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
        }
        
        .edit-report-btn::before {
            content: '??';
            font-size: 16px;
        }
        
        .edit-report-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        }
        
        body.light-mode .edit-report-btn {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
        }
        
        body.light-mode .edit-report-btn:hover {
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
        }
        
        /* Light mode styles for draft reports */
        body.light-mode .draft-report-card {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .draft-report-title {
            color: #7f1d1d;
        }
        
        body.light-mode .draft-report-date {
            color: #64748b;
        }
        
        body.light-mode .draft-status-badge {
            background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
            box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
        }
        
        body.light-mode .draft-report-details p {
            color: #475569;
        }
        
        body.light-mode .draft-report-details strong {
            color: #1e293b;
        }
        
        /* Editor Header Styles */
        .editor-title {
            color: #C19A6B !important;
            font-size: 28px !important;
            font-weight: 700 !important;
            margin-bottom: 12px !important;
        }
        
        .editor-subtitle {
            color: #94a3b8 !important;
            font-size: 16px !important;
            margin: 0 !important;
        }
        
        .editor-subtitle strong {
            color: #cbd5e1 !important;
        }
        
        body.light-mode .editor-title {
            color: #7f1d1d !important;
        }
        
        body.light-mode .editor-subtitle {
            color: #64748b !important;
        }
        
        body.light-mode .editor-subtitle strong {
            color: #475569 !important;
        }
        
        /* Dashboard Title Styles */
        .dashboard-title {
            color: #C19A6B !important;
            font-size: 28px !important;
            font-weight: 700 !important;
            margin-bottom: 24px !important;
            text-align: center !important;
        }
        
        body.light-mode .dashboard-title {
            color: #7f1d1d !important;
        }
        
        /* Draft Report Actions */
        .draft-report-actions {
            display: flex;
            gap: 12px;
            margin-top: 16px;
        }
        
        .delete-report-btn {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
        }
        
        .delete-report-btn::before {
            content: '???';
            font-size: 16px;
        }
        
        .delete-report-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(239, 68, 68, 0.4);
            background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
        }
        
        body.light-mode .delete-report-btn {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
        }
        
        body.light-mode .delete-report-btn:hover {
            box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
        }
        
        /* Smart Upload Button */
        #smartUploadBtn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            padding: 10px 20px !important;
            border: none !important;
            border-radius: 8px !important;
            color: white !important;
            cursor: pointer !important;
            font-weight: 600 !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 8px !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3) !important;
        }
        
        #smartUploadBtn::before {
            content: '??';
            font-size: 16px;
        }
        
        #smartUploadBtn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4) !important;
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
        }
        
        body.light-mode #smartUploadBtn {
            box-shadow: 0 2px 12px rgba(102, 126, 234, 0.2) !important;
        }
        
        body.light-mode #smartUploadBtn:hover {
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3) !important;
        }
        
        /* Report Editor Spacing */
        #reportEditorHeader {
            margin-bottom: 32px;
        }
        
        #reportExpensesList {
            margin-top: 40px;
        }
        
        .section > .section {
            margin-top: 40px;
        }
        
        /* Compact Report Cards */
        .compact-report-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 16px;
            margin: 8px 0;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .compact-report-card:hover {
            transform: translateY(-1px);
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        }
        
        .compact-report-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .compact-report-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        
        .compact-report-title {
            color: #C19A6B;
            font-weight: 600;
            font-size: 16px;
        }
        
        .compact-report-date {
            color: #94a3b8;
            font-size: 14px;
        }
        
        .compact-report-amount {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 600;
            font-size: 16px;
        }
        
        .compact-expand-icon {
            color: #7f1d1d;
            font-size: 12px;
            transition: transform 0.3s ease;
        }
        
        .compact-report-details {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .compact-detail-row {
            display: flex;
            justify-content: space-between;
            padding: 4px 0;
            color: #cbd5e1;
            font-size: 14px;
        }
        
        .compact-detail-row strong {
            color: #e2e8f0;
        }
        
        .compact-expenses {
            margin-top: 12px;
        }
        
        .compact-expense-list {
            margin-top: 8px;
            max-height: 200px;
            overflow-y: auto;
        }
        
        .compact-expense-item {
            display: flex;
            justify-content: space-between;
            padding: 6px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 13px;
            color: #94a3b8;
        }
        
        /* Light mode styles */
        body.light-mode .compact-report-card {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .compact-report-title {
            color: #7f1d1d;
        }
        
        body.light-mode .compact-report-date {
            color: #64748b;
        }
        
        body.light-mode .compact-report-details {
            border-top: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .compact-detail-row {
            color: #475569;
        }
        
        body.light-mode .compact-detail-row strong {
            color: #1e293b;
        }
        
        body.light-mode .compact-expense-item {
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            color: #64748b;
        }
        
        /* Report Filters */
        .report-filters {
            display: flex;
            gap: 16px;
            align-items: end;
            margin-bottom: 24px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        
        .filter-group label {
            font-size: 12px;
            color: #94a3b8;
            margin: 0;
        }
        
        .filter-group select,
        .filter-group input {
            padding: 8px 12px;
            font-size: 14px;
            min-width: 120px;
        }
        
        .clear-filters-btn {
            padding: 8px 16px;
            background: rgba(239, 68, 68, 0.1);
            color: #64748b;
            border: 1px solid rgba(239, 68, 68, 0.2);
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .clear-filters-btn:hover {
            background: rgba(239, 68, 68, 0.2);
        }
        
        /* Pagination */
        .pagination {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 24px;
            padding: 16px 0;
        }
        
        .pagination-info {
            color: #94a3b8;
            font-size: 14px;
        }
        
        .pagination-controls {
            display: flex;
            gap: 8px;
        }
        
        .pagination-btn {
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.05);
            color: #cbd5e1;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .pagination-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }
        
        .pagination-btn.active {
            background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
            color: white;
            border-color: transparent;
        }
        
        .no-reports {
            text-align: center;
            padding: 40px;
            color: #94a3b8;
            font-style: italic;
        }
        
        /* Light mode styles */
        body.light-mode .report-filters {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .filter-group label {
            color: #64748b;
        }
        
        body.light-mode .clear-filters-btn {
            background: rgba(239, 68, 68, 0.1);
            color: #dc2626;
            border: 1px solid rgba(239, 68, 68, 0.3);
        }
        
        body.light-mode .pagination-info {
            color: #64748b;
        }
        
        body.light-mode .pagination-btn {
            background: rgba(0, 0, 0, 0.05);
            color: #475569;
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .pagination-btn:hover {
            background: rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .no-reports {
            color: #64748b;
        }
        
        /* Dark mode select options */
        select option {
            background: #1e293b;
            color: #f8fafc;
        }
        
        body.light-mode .filter-group select,
        body.light-mode .filter-group input {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        
        body.light-mode .filter-group select option {
            background: #ffffff;
            color: #1e293b;
        }
        
        body.light-mode select option {
            background: #ffffff;
            color: #1e293b;
        }
        
        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }
        
        .modal-nested {
            background: rgba(0, 0, 0, 0.7);
            z-index: 1002;
        }
        
        .modal-container {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 24px;
            max-width: 95%;
            max-height: 95%;
            overflow: auto;
            position: relative;
            color: #e2e8f0;
        }
        
        .modal-small {
            max-width: 500px;
        }
        
        .modal-close-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 8px 12px;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
            z-index: 1001;
            transition: all 0.3s ease;
        }
        
        .modal-close-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
        }
        
        .modal-title {
            color: #C19A6B;
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-right: 40px;
        }
        
        .modal-subtitle {
            color: #cbd5e1;
            font-size: 18px;
            font-weight: 600;
            margin: 20px 0 12px 0;
        }
        
        .modal-header-info {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 20px;
        }
        
        .modal-table {
            width: 100%;
            margin-bottom: 20px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .modal-table th {
            background: rgba(255, 255, 255, 0.05);
            color: #cbd5e1;
            font-weight: 600;
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .modal-table td {
            padding: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            color: #e2e8f0;
        }
        
        .modal-table tr:hover {
            background: rgba(255, 255, 255, 0.02);
        }
        
        /* Light mode modal styles */
        body.light-mode .modal-container {
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1e293b;
        }
        
        body.light-mode .modal-title {
            color: #7f1d1d;
        }
        
        body.light-mode .modal-subtitle {
            color: #475569;
        }
        
        body.light-mode .modal-header-info {
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .modal-table {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .modal-table th {
            background: rgba(0, 0, 0, 0.05);
            color: #475569;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        body.light-mode .modal-table td {
            color: #1e293b;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        body.light-mode .modal-table tr:hover {
            background: rgba(0, 0, 0, 0.02);
        }
        
        .sap-export-btn {
            background: linear-gradient(135deg, #059669 0%, #047857 100%);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 8px 32px rgba(5, 150, 105, 0.3);
        }
        
        .sap-export-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(5, 150, 105, 0.4);
        }
        
        /* Mileage Modal Styles */
        .modal {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content input[type="number"]:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
        }
        
        .modal-content button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }
        
        .modal-content button:active {
            transform: translateY(0);
        }

/* Authentication Styles */
.welcome-message {
    text-align: center;
    margin: -35px 0 35px 0;
}

.welcome-message p {
    font-size: 24px;
    margin: 0 0 8px 0;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #E8D5C4;
    background: linear-gradient(135deg, #E8D5C4 0%, #D9C4B0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logout-container {
    text-align: center;
}

.logout-link {
    color: #C19A6B;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    font-weight: 400;
}

.logout-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Light mode adjustments */
body.light-mode .welcome-message p {
    color: #7f1d1d;
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .logout-link {
    color: #7f1d1d;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .welcome-message {
        margin: -15px 0 25px 0;
    }
    
    .welcome-message p {
        font-size: 18px;
        margin: 0 0 6px 0;
    }
    
    .logout-link {
        font-size: 12px;
    }
}

.loading-spinner {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner i {
    font-size: 24px;
    color: #C19A6B;
    margin-bottom: 12px;
}

.loading-spinner p {
    color: #94a3b8;
    font-size: 16px;
}

.auth-success {
    text-align: center;
    padding: 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
}

.auth-success i {
    font-size: 48px;
    color: #22c55e;
    margin-bottom: 16px;
}

.auth-error {
    text-align: center;
    padding: 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
}

.auth-error i {
    font-size: 48px;
    color: #ef4444;
    margin-bottom: 16px;
}

.login-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

@media (max-width: 768px) {
    .user-info-nav {
        position: fixed;
        top: 16px;
        right: 16px;
        background: rgba(31, 31, 31, 0.9);
        backdrop-filter: blur(12px);
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1001;
    }
    
    .user-info-nav span {
        display: none;
    }
    
    .logout-btn {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .logout-btn span {
        display: none;
    }
}/
* Session status indicators */
.session-secure {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 12px;
    font-size: 14px;
    color: #22c55e;
}

.session-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 12px;
    font-size: 14px;
    color: #f59e0b;
}

/* Enhanced error and success messages */
.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 12px;
}

.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 12px;
}

.error::before {
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
}

.success::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
}

/* Responsive navigation improvements */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: nowrap;
        gap: 12px;
    }
}/* 
Spinner animation for receipt processing */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Receipt page specific styles */
.extracted-expenses-list .expense-item {
    transition: all 0.2s ease;
}

.extracted-expenses-list .expense-item:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.2) !important;
}

/* Receipt upload button styles */
#uploadReceiptBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#receiptFileInput {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #e2e8f0;
}

#receiptFileInput:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}/* Hi
dden class for OCR functionality */
.hidden {
    display: none !important;
}