    /* -------------------------------------
       GLOBAL STYLES & VARIABLES
    ------------------------------------- */
    :root {
        --purple: #6d28d9;
        --purple-light: #f3e8ff;
        --purple-dark: #5b21b6;
        --gray: #6b7280;
        --bg: #faf9ff;
        --text: #1f1f2e;
        --radius: 10px;
        --shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        --shadow-lg: 0 10px 30px rgba(109, 40, 217, 0.15);
        --transition: all 0.2s ease;
    }

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



    a {
        color: inherit;
        text-decoration: none;
    }

    /* -------------------------------------
       HEADER LAYOUT — MATCHES SCREENSHOT
    ------------------------------------- */
    .site-header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--text);
        padding: 0rem 1.5rem;
        box-shadow: var(--shadow);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    /* Left: Logo + Brand */
    .header-left {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .logo img {
        width: 75px;
        height: 75px;
        border-radius: 10px;
        transition: var(--transition);
    }

    .logo img:hover {
        transform: scale(1.05);
    }

    .brand {
        gap: 0px;
        display: grid;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .brand h2 {
        font-size: 1.4rem;
        font-weight: 700;
        /* color: var(--purple-dark);*/
        color: rgb(79, 172, 254);
        background: linear-gradient(to right, rgb(0, 204, 255), rgb(79, 172, 254)) text;
        margin: 0;
    }

    .brand h4 {
        font-size: 1rem;
        font-weight: 600;
        /*color: #7c3aed;*/
        color: rgba(21, 238, 173, 1);
        margin: 0;
    }

    /* Center Navigation */
    .header-center {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .nav-list {
        list-style: none;
        display: flex;
        gap: 2.2rem;
        margin: 0;
        padding: 0;
        align-items: center;
    }

    .nav-item {
        position: relative;
    }

    .nav-link {
        font-weight: 500;
        color: var(--purple-light);
        padding: 0.4rem 0;
        transition: var(--transition);
        white-space: nowrap;
    }

    .nav-link:hover {
        color: var(--purple);
    }

    .nav-link.active {
        color: var(--purple);
        font-weight: 600;
    }

    /* Dropdown Menu */
    .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 12%;
        transform: translateX(-50%) translateY(-8px);
        min-width: 207px;
        background: #fff;
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        margin-top: 8px;
        border: 1px solid #eee;
        overflow: hidden;
        z-index: 1100;
    }

    .dropdown-menu a {
        display: block;
        padding: 0.75rem 1.25rem;
        color: var(--text);
        transition: var(--transition);
        border-bottom: 1px solid #f0f0f0;
        font-weight: 500;
    }

    .dropdown-menu a:hover {
        background: var(--purple-light);
        color: var(--purple);
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }

    /* Right section: Login / Signup */
    .header-right {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .auth-link {
        font-weight: 600;
        color: var(--purple-dark);
        color: rgb(79, 172, 254);
        transition: var(--transition);
    }

    .auth-link:hover {
        color: #7c3aed;
        color: rgb(0, 204, 255);
    }

    .divider {
        color: #7c3aed;
        color: rgb(0, 204, 255);
        font-weight: 700;
    }

    /* Mobile toggle icon */
    .menu-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: var(--purple);
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 8px;
        transition: var(--transition);
    }

    .menu-toggle:hover {
        background: var(--purple-light);
    }

    /* Mobile Menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: var(--shadow-lg);
        transition: left 0.35s ease;
        z-index: 1200;
        padding-top: 90px;
        overflow-y: auto;
    }

    .mobile-menu.active {
        left: 0;
    }

    .mobile-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .mobile-nav .nav-link {
        padding: 1rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 500;
        border-bottom: 1px solid #eee;
        color: var(--text);
        transition: var(--transition);
    }

    .mobile-nav .nav-link:hover {
        background: var(--purple-light);
        color: var(--purple-dark);
    }

    .mobile-nav .nav-link.active {
        background: var(--purple);
        color: white;
    }

    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1199;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Responsive */
    @media (max-width: 992px) {

        .header-center,
        .header-right {
            display: none;
        }

        .menu-toggle {
            display: block;
        }

        .brand h2 {
            font-size: 1.25rem;
        }

        .brand h4 {
            font-size: 0.85rem;
        }

        .logo img {
            width: 50px;
            height: 50px;
        }

        .fa-bars {
            display: block;
            position: absolute;
            /*color: var(--purple);*/
            color: rgb(79, 172, 254);
            margin: -3%;
        }
    }

    @media (max-width: 480px) {
        .site-header {
            padding: 0.5rem 1rem;
        }

        .mobile-menu {
            width: 75%;
        }
    }

     /* ====================== TOAST ====================== */
  #toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 15px; }
  .toast {
    position: relative;
    min-width: 280px; max-width: 360px;
    padding: 16px 20px; border-radius: 10px;
    color: #fff; font-weight: 500;
    box-shadow: 0 8px 16px rgba(0,0,0,.15);
    animation: slideIn 0.4s ease forwards, fadeOut 0.5s ease 4.5s forwards;
    opacity: 0; transform: translateY(-20px); overflow: hidden;
  }
  .toast span { display: block; padding-right: 30px; font-size: 15px; line-height: 1.4; }
  .toast .toast-close {
    all: unset;
    position: absolute; top: 8px; right: 10px; font-size: 18px; font-weight: bold; color: #fff; cursor: pointer; line-height: 1;
  }
  .toast .toast-close:hover { color: #ddd; }
  .toast-success { background-color: #4caf50; }
  .toast-error { background-color: #f44336; }
  .toast-warning { background-color: #ff9800; }
  .toast-info { background-color: #2196f3; }