    :root {
        --body-bg: #f4f7fa;
        --text-main: #1a1f36;
        --text-muted: #697386;
        --card-bg: #ffffff;
        --primary-gold: #b8934d;
        --border-color: #e3e8ee;
        --input-focus: #b8934d20;
        --nav-bg: rgba(255, 255, 255, 0.8);
    }

    [data-theme="dark"] {
        --body-bg: #0a0d14;
        --text-main: #ffffff;
        --text-muted: #94a3b8;
        --card-bg: #161922;
        --border-color: #2d3343;
        --nav-bg: rgba(15, 23, 42, 0.9);
    }

    body {
        background-color: var(--body-bg);
        color: var(--text-main);
        font-family: 'Plus Jakarta Sans', sans-serif; /* Very popular for Finance UI */
        transition: 0.3s ease;
    }

    .theme-switch-wrapper {
        position: fixed;
        bottom: 25px;
        right: 25px;
        z-index: 9999;
    }

    .theme-btn {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        color: var(--primary-gold);
        width: 48px;
        height: 48px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        cursor: pointer;
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .theme-btn:hover {
        transform: scale(1.1) rotate(15deg);
        border-color: var(--primary-gold);
    }

    /* --- Global Finance Button System --- */

    /* 1. Primary Button (Gold - Main Actions) */
    .btn-finance, .btn-primary {
        background: linear-gradient(135deg, #b8934d 0%, #d4af37 100%) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 12px !important;
        padding: 12px 24px;
        font-weight: 700;
        letter-spacing: 0.5px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 4px 12px rgba(184, 147, 77, 0.2);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    /* 2. Secondary Button (Glass/Outline - Less Important Actions) */
    .btn-finance-outline, .btn-outline-primary {
        background: var(--card-bg) !important;
        color: var(--text-main) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 12px !important;
        padding: 12px 24px;
        font-weight: 600;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(10px);
    }

    /* --- Hover & Interaction States (The "No-White" Fix) --- */

    .btn-finance:hover, .btn-primary:hover {
        filter: brightness(1.1);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(184, 147, 77, 0.3);
        color: #ffffff !important;
    }

    .btn-finance-outline:hover, .btn-outline-primary:hover {
        background: var(--border-color) !important;
        border-color: var(--primary-gold) !important;
        transform: translateY(-2px);
    }

    .btn-finance:active, .btn-finance-outline:active {
        transform: translateY(0);
        filter: brightness(0.9);
    }

    /* Smooth Loading State */
    .btn-loading {
        pointer-events: none;
        opacity: 0.7;
    }


    /* navbar */

    .custom-navbar {
        background: var(--nav-bg) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-color);
        padding: 0px 0;
        z-index: 1050;
    }

    .nav-logo {
        height: 60px;
        transition: 0.3s; 
    }
    
    .nav-link { 
        color: var(--text-main) !important; 
        font-weight: 600; 
        font-size: 0.95rem;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--primary-gold) !important;
    }

    /* --- EXECUTIVE PROFILE BUTTON (CLICK ONLY) --- */
    .profile-executive-btn {
        background: var(--card-bg);
        display: flex;
        align-items: center;
        color: var(--text-main);
        cursor: pointer;
        transition: 0.3s;
    }
    .profile-executive-btn:hover {
        border-color: var(--primary-gold); 
    }
    
    .avatar-wrapper { font-size: 1.8rem; color: var(--primary-gold); display: flex; align-items: center; }

    /* --- HOVER LOGIC (DESKTOP ONLY - CENTER LINKS) --- */
    @media (min-width: 992px) {
        /* Only hover items with .nav-hover-item class */
        .nav-hover-item:hover > .dropdown-menu {
            display: block !important;
            opacity: 1 !important;
            visibility: visible !important;
            transform: translateY(0);
        }
        
        .nav-hover-item .dropdown-menu {
            display: block;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            margin-top: 0;
        }
    }

    /* --- DROPDOWN ANIMATION FOR PROFILE (CLICK) --- */
    .dropdown-menu {
        background: var(--card-bg);
        border-radius: 16px;
        padding: 10px;
        min-width: 220px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
        /* Simple fade for the click dropdown */
        transition: opacity 0.2s ease; 
    }

    .dropdown-item {
        color: var(--text-main);
        padding: 10px 15px;
        border-radius: 10px;
        font-weight: 500;
        font-size: 0.9rem;
    }
    .dropdown-item:hover {
        background: rgba(184, 147, 77, 0.1);
        color: var(--primary-gold);
    }
    
    /* Remove default Bootstrap arrows */
    .dropdown-toggle::after { display: none; }

    /* --- MOBILE STYLES --- */
    @media (max-width: 991px) {
        .profile-executive-btn {
            border: none !important; 
            background: transparent; 
        }
        .avatar-wrapper { 
            font-size: 1.8rem; 
        }
        .offcanvas { 
            background-color: var(--card-bg) !important; 
        }
    }

    /* Adjust position for mobile so it doesn't block content */
    @media (max-width: 576px) {
        .theme-switch-wrapper {
            bottom: 15px;
            right: 15px;
        }
        .theme-btn {
            width: 40px;
            height: 40px;
        }
    }