        :root {
            --primary: #0A1F3D;
            --secondary: #B8860B;
            --secondary-light: #D4AF37;
            --light: #F8F9FA;
            --dark: #0D1117;
            --accent: #1E5A94;
            --gray-light: #F0F2F5;
            --gray: #E1E5EA;
            --success: #10B981;
            --error: #EF4444;
            --warning: #F59E0B;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.7;
            font-family: 'Montserrat', sans-serif;
            font-weight: 400;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            color: var(--primary);
        }
        
        .navbar {
            background-color: var(--primary) !important;
            box-shadow: 0 2px 20px rgba(0,0,0,0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .navbar-brand {
            color: white !important;
            font-size: 28px;
            font-weight: 700;
            font-family: 'Playfair Display', serif;
            letter-spacing: 1px;
        }
        
        .navbar-brand .text-gold {
            color: var(--secondary-light) !important;
        }
        
        .navbar-nav .nav-link {
            color: rgba(255,255,255,0.9) !important;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 14px;
            transition: all 0.3s ease;
            position: relative;
            margin: 0 10px;
        }
        
        .navbar-nav .nav-link:hover {
            color: var(--secondary-light) !important;
        }
        
        .navbar-nav .nav-link.active {
            color: var(--secondary-light) !important;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 80%);
            border: none;
            color: var(--dark);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 14px;
            padding: 12px 24px;
            border-radius: 2px;
            transition: all 0.4s ease;
            box-shadow: 0 5px 15px rgba(184, 134, 11, 0.2);
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(184, 134, 11, 0.3);
            color: var(--dark);
        }
        
        .btn-outline-primary {
            border: 2px solid var(--primary);
            color: var(--primary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 14px;
            padding: 10px 22px;
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary);
            border-color: var(--primary);
            color: white;
        }
        
        .btn-secondary {
            background: linear-gradient(135deg, var(--gray) 0%, var(--gray-light) 80%);
            border: none;
            color: var(--dark);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 14px;
            padding: 12px 24px;
            border-radius: 2px;
            transition: all 0.4s ease;
            text-decoration: none;
            display: inline-block;
        }
        
        .btn-secondary:hover {
            transform: translateY(-2px);
            color: var(--dark);
            text-decoration: none;
        }
        
        .card {
            border: 1px solid var(--gray);
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
        }
        
        .card-header {
            background-color: var(--primary);
            color: white;
            border-bottom: none;
            font-weight: 600;
            font-family: 'Playfair Display', serif;
        }
        .card-header h1,
        .card-header h2, 
        .card-header h3,
        .card-header h4,
        .card-header h5,
        .card-header h6 {
            color: white !important;
        }
        
        .card-header .text-muted {
            color: rgba(255, 255, 255, 0.7) !important;
        }
        
        .card-header * {
            color: white !important;
        }
        
        .table th {
            background-color: var(--primary);
            color: white;
            border: none;
            font-weight: 600;
        }
        
        .main-content {
            padding-top: 100px;
            min-height: calc(100vh - 200px);
        }
        
        .footer {
            background-color: var(--dark);
            color: white;
            padding: 40px 0;
            margin-top: 80px;
        }
        
        .footer .text-gold {
            color: var(--secondary-light);
        }
        
        .alert-success {
            background-color: rgba(16, 185, 129, 0.1);
            border-color: var(--success);
            color: var(--success);
        }
        
        .alert-danger {
            background-color: rgba(239, 68, 68, 0.1);
            border-color: var(--error);
            color: var(--error);
        }
        
        .alert-warning {
            background-color: rgba(245, 158, 11, 0.1);
            border-color: var(--warning);
            color: var(--warning);
        }
        
        .text-gold {
            color: var(--secondary-light);
        }
        
        .bg-primary-custom {
            background-color: var(--primary);
        }
        
        .bg-secondary-custom {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        }
        
        .progress-bar {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        }
        
        .form-control:focus {
            border-color: var(--secondary);
            box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.25);
        }
        
        .form-select:focus {
            border-color: var(--secondary);
            box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.25);
        }
        
        .table th {
            background-color: var(--primary);
            color: white;
            border: none;
            font-weight: 600;
        }
        
        .spinner-border-custom {
            color: var(--secondary);
        }
        
        .match-score-excellent {
            color: var(--success);
            font-weight: 600;
        }
        
        .match-score-good {
            color: var(--warning);
            font-weight: 600;
        }
        
        .match-score-poor {
            color: var(--error);
            font-weight: 600;
        }
        
        .subscription-badge {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
            color: var(--dark);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }
        
        .loading-spinner {
            background-color: white;
            padding: 40px;
            border-radius: 10px;
            text-align: center;
        }

        /* Fix for dark title bars - make text white */
        .bg-dark, 
        .bg-primary, 
        .bg-primary-custom,
        [style*="background-color: rgb(30, 58, 138)"],
        [style*="background: rgb(30, 58, 138)"],
        [style*="background-color: #1e3a8a"],
        [style*="background: #1e3a8a"],
        [style*="background-color: var(--primary)"],
        [style*="background: var(--primary)"] {
            color: #ffffff !important;
        }

        /* Ensure all headings in dark containers are white */
        .bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
        .bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6,
        .bg-primary-custom h1, .bg-primary-custom h2, .bg-primary-custom h3, .bg-primary-custom h4, .bg-primary-custom h5, .bg-primary-custom h6,
        [style*="background-color: rgb(30, 58, 138)"] h1,
        [style*="background-color: rgb(30, 58, 138)"] h2,
        [style*="background-color: rgb(30, 58, 138)"] h3,
        [style*="background: rgb(30, 58, 138)"] h1,
        [style*="background: rgb(30, 58, 138)"] h2,
        [style*="background: rgb(30, 58, 138)"] h3 {
            color: #ffffff !important;
        }

        /* Ensure all text elements in dark containers are white */
        .bg-dark *, 
        .bg-primary *,
        .bg-primary-custom *,
        [style*="background-color: rgb(30, 58, 138)"] *,
        [style*="background: rgb(30, 58, 138)"] * {
            color: #ffffff !important;
        }

        /* Enhanced Account Dropdown Styling */
        .account-dropdown {
            min-width: 280px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            border: none;
            border-radius: 8px;
            padding: 0;
            margin-top: 10px;
        }

        .account-dropdown .dropdown-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: white;
            padding: 15px 20px;
            margin: 0;
            border-radius: 8px 8px 0 0;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }

        .account-dropdown .user-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .account-dropdown .user-avatar {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark);
            font-weight: 700;
            font-size: 16px;
        }

        .account-dropdown .user-details h6 {
            margin: 0;
            font-size: 14px;
            font-weight: 600;
            color: white;
        }

        .account-dropdown .user-details small {
            font-size: 12px;
            opacity: 0.8;
        }

        .account-dropdown .subscription-status {
            margin-top: 8px;
        }

        .account-dropdown .status-badge {
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .account-dropdown .status-badge.active {
            background: rgba(16, 185, 129, 0.2);
            color: #10B981;
        }

        .account-dropdown .status-badge.inactive {
            background: rgba(245, 158, 11, 0.2);
            color: #F59E0B;
        }

        .account-dropdown .dropdown-item {
            padding: 12px 20px;
            transition: all 0.3s ease;
            border: none;
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 500;
            color: var(--dark);
        }

        .account-dropdown .dropdown-item:hover {
            background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 20%);
            color: var(--dark);
            transform: translateX(5px);
        }

        .account-dropdown .dropdown-item i {
            width: 16px;
            text-align: center;
            opacity: 0.7;
        }

        .account-dropdown .dropdown-divider {
            margin: 0;
            border-color: rgba(0,0,0,0.1);
        }

        .account-dropdown .dropdown-item.logout-item {
            border-top: 1px solid rgba(0,0,0,0.1);
            margin-top: 0;
        }

        .account-dropdown .dropdown-item.logout-item:hover {
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
            color: white;
        }

        /* Navigation User Indicator */
        .nav-user-indicator {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 25px;
            background: rgba(255,255,255,0.1);
            transition: all 0.3s ease;
        }

        .nav-user-indicator:hover {
            background: rgba(255,255,255,0.2);
            color: var(--secondary-light) !important;
        }

        .nav-user-indicator .user-initials {
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark);
            font-weight: 700;
            font-size: 12px;
        }

        /* COOKIE BANNER STYLES */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            color: white;
            padding: 0.75rem 0;
            box-shadow: 0 -2px 20px rgba(0,0,0,0.2);
            z-index: 1040; /* Below modals but above content */
            transform: translateY(100%);
            transition: transform 0.4s ease;
            border-top: 2px solid var(--secondary-light);
        }

        .cookie-banner.show {
            transform: translateY(0);
        }

        .cookie-banner .cookie-content {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .cookie-banner .cookie-icon {
            font-size: 1.2rem;
            color: var(--secondary-light);
            flex-shrink: 0;
        }

        .cookie-banner .cookie-text h6 {
            margin: 0 0 4px 0;
            font-size: 0.9rem;
            font-weight: 600;
            color: white;
        }

        .cookie-banner .cookie-text p {
            margin: 0;
            font-size: 0.8rem;
            opacity: 0.9;
            line-height: 1.3;
        }

        .cookie-banner .cookie-text a {
            color: var(--secondary-light);
            text-decoration: none;
        }

        .cookie-banner .cookie-text a:hover {
            text-decoration: underline;
        }

        .cookie-banner .cookie-actions {
            display: flex;
            gap: 8px;
            align-items: center;
            flex-shrink: 0;
        }

        .cookie-banner .btn-cookie-accept {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
            border: none;
            color: var(--dark);
            font-weight: 600;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .cookie-banner .btn-cookie-accept:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
            color: var(--dark);
        }

        .cookie-banner .btn-cookie-settings {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            padding: 7px 12px;
            border-radius: 16px;
            font-size: 0.8rem;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .cookie-banner .btn-cookie-settings:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.5);
            color: white;
            transform: translateY(-1px);
        }

        /* Cookie banner responsive design */
        @media (max-width: 768px) {
            .cookie-banner {
                padding: 1rem 0;
            }

            .cookie-banner .cookie-content {
                flex-direction: column;
                text-align: center;
                gap: 12px;
            }

            .cookie-banner .cookie-actions {
                width: 100%;
                justify-content: center;
                gap: 12px;
            }

            .cookie-banner .btn-cookie-accept,
            .cookie-banner .btn-cookie-settings {
                flex: 1;
                max-width: 140px;
            }

            .main-content {
                padding-top: 80px;
            }
            
            .navbar-brand {
                font-size: 24px;
            }
            
            .btn-primary, .btn-outline-primary {
                font-size: 12px;
                padding: 10px 20px;
            }

            .account-dropdown {
                min-width: 250px;
            }

            .nav-user-indicator .user-name {
                display: none;
            }
        }

        [style*="background-color: rgb(30, 58, 138)"],
        [style*="background: rgb(30, 58, 138)"],
        .bg-primary,
        .bg-dark {
            color: #ffffff !important;
        }
        
        [style*="background-color: rgb(30, 58, 138)"] *,
        [style*="background: rgb(30, 58, 138)"] *,
        .bg-primary *,
        .bg-dark * {
            color: #ffffff !important;
        }
