:root {
            --brand-green: #03533B;
            --brand-gold: #F8BB01;
            --brand-green-light: #0a6e4f;
            --brand-green-dark: #023a29;
            --brand-green-pale: #e8f2ee;
            --brand-gold-dark: #d9a300;
            --brand-gold-pale: #fef6df;

            --gl-cream: #fbfbfa;
            --gl-warm: #f7f6f2;
            --gl-text1: #1a221e;
            --gl-text2: #2d3b34;
            --gl-text3: #63776c;
            --gl-border: #e5ede8;

            --gl-radius: 12px;
            --gl-radius-lg: 20px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html, body { overflow-x: hidden; }

        body {
            font-family: 'Poppins', 'Inter', system-ui, sans-serif;
            background: var(--gl-cream);
            color: var(--gl-text1);
            font-size: 15px;
            line-height: 1.6;
            min-height: 100vh;
           
        }

        /* ==================== DECORATIVE BG ==================== */
        .auth-bg-decor { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
        .auth-bg-decor::before {
            content: ''; position: absolute; top: -20%; right: -10%;
            width: 500px; height: 500px;
            background: radial-gradient(circle, rgba(248, 187, 1, 0.08) 0%, transparent 70%);
            border-radius: 50%;
        }
        .auth-bg-decor::after {
            content: ''; position: absolute; bottom: -20%; left: -10%;
            width: 400px; height: 400px;
            background: radial-gradient(circle, rgba(3, 83, 59, 0.06) 0%, transparent 70%);
            border-radius: 50%;
        }

        /* ==================== AUTH CONTAINER ==================== */
               /* ==================== AUTH CONTAINER ==================== */
        .auth-container {
            position: relative; z-index: 2;
            min-height: calc(100vh - 20px);
            display: flex; align-items: center; justify-content: center;
            padding: 10px 1.5rem 3rem 1.5rem; /* 10px top padding, 3rem bottom */
        }
        @media (max-width: 768px) { .auth-container { padding: 10px 1rem 2rem 1rem; } }
        @media (max-width: 480px) { .auth-container { padding: 10px 0.75rem 1.5rem 0.75rem; } }

        /* ==================== AUTH CARD ==================== */
        .auth-card {
            background: #ffffff;
            border-radius: var(--gl-radius-lg);
            box-shadow: 0 25px 60px rgba(3, 83, 59, 0.12);
            border: 1px solid var(--gl-border);
            max-width: 520px; width: 100%;
            overflow: hidden; position: relative;
        }
        @media (max-width: 480px) { .auth-card { border-radius: var(--gl-radius); } }

        /* ==================== TABS ==================== */
        .auth-tabs {
            display: flex;
            border-bottom: 1px solid var(--gl-border);
            background: var(--gl-cream);
            position: relative;
        }
        .tab-btn {
            flex: 1; background: transparent; border: none;
            padding: 1.35rem 1rem;
            font-size: 0.95rem; font-weight: 700;
            color: var(--gl-text3);
            cursor: pointer; position: relative;
            font-family: inherit;
            transition: color 0.25s ease;
            display: flex; align-items: center; justify-content: center; gap: 8px;
        }
        .tab-btn i { font-size: 1.15rem; }
        .tab-btn:hover { color: var(--brand-green); }
        .tab-btn.active { color: var(--brand-green); background: #ffffff; }
        .tab-btn.active::after {
            content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
            height: 3px; background: var(--brand-gold);
            border-radius: 3px 3px 0 0;
        }
        @media (max-width: 480px) {
            .tab-btn { padding: 1.1rem 0.5rem; font-size: 0.85rem; gap: 5px; }
            .tab-btn i { font-size: 1rem; }
        }

        /* ==================== FORM PANEL ==================== */
        .form-panel { padding: 2.25rem 2rem; animation: fadeIn 0.4s ease; }
        @media (max-width: 480px) { .form-panel { padding: 1.5rem 1.15rem; } }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(8px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .form-panel.hidden { display: none; }

        .form-title {
            font-size: 1.55rem; font-weight: 800;
            color: var(--brand-green);
            margin-bottom: 0.35rem;
            letter-spacing: -0.3px;
            display: flex; align-items: center; gap: 10px;
        }
        .form-title i { color: var(--brand-gold); font-size: 1.4rem; }
        @media (max-width: 480px) { .form-title { font-size: 1.25rem; } }

        .form-subtitle {
            color: var(--gl-text3);
            font-size: 0.85rem;
            margin-bottom: 1.75rem;
        }

        /* ==================== INPUT GROUPS ==================== */
        .input-group { margin-bottom: 1.25rem; position: relative; }

        .input-group label {
            display: flex; align-items: center; gap: 6px;
            font-size: 0.78rem; font-weight: 600;
            color: var(--gl-text2);
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }
        .input-group label i { color: var(--brand-green); font-size: 0.95rem; }

        .input-group input {
            width: 100%;
            padding: 13px 16px;
            border: 1.5px solid var(--gl-border);
            border-radius: var(--gl-radius) !important;
            font-size: 0.9rem;
            transition: all 0.2s ease;
            outline: none;
            font-family: inherit;
            color: var(--gl-text1);
            background: #ffffff;
        }
        .input-group input:focus {
            border-color: var(--brand-gold);
            box-shadow: 0 0 0 3px rgba(248, 187, 1, 0.15);
        }
        .input-group input::placeholder { color: #b0b8b3; }

        .input-group input.input-error {
            border-color: #DC2626;
            background: #fef2f2;
        }
        .input-group input.input-error:focus {
            border-color: #DC2626;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
        }

        /* ===== FIELD ERROR MESSAGE ===== */
        .field-error {
            display: none;
            font-size: 0.72rem;
            color: #DC2626;
            font-weight: 600;
            margin-top: 6px;
            line-height: 1.4;
            align-items: flex-start;
            gap: 5px;
            padding: 4px 8px;
            background: #fef2f2;
            border-radius: 6px;
            border-left: 3px solid #DC2626;
            animation: errorSlideIn 0.3s ease;
        }
        .field-error.show { display: flex; }
        .field-error i {
            font-size: 0.85rem;
            flex-shrink: 0;
            margin-top: 1px;
        }

        @keyframes errorSlideIn {
            from { opacity: 0; transform: translateY(-4px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* ==================== PASSWORD WRAPPER ==================== */
        .password-wrapper { position: relative; width: 100%; }
        .password-wrapper input {
            width: 100%;
            padding: 13px 16px;
            padding-right: 48px;
            border: 1.5px solid var(--gl-border);
            border-radius: var(--gl-radius) !important;
            font-size: 0.9rem;
            transition: all 0.2s ease;
            outline: none;
            background: #ffffff;
            font-family: inherit;
            color: var(--gl-text1);
        }
        .password-wrapper input:focus {
            border-color: var(--brand-gold);
            box-shadow: 0 0 0 3px rgba(248, 187, 1, 0.15);
        }
        .password-wrapper input.input-error {
            border-color: #DC2626;
            background: #fef2f2;
        }
        .password-wrapper input.input-error:focus {
            border-color: #DC2626;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
        }

        .password-toggle {
            position: absolute;
            right: 14px; top: 50%;
            transform: translateY(-50%);
            background: none; border: none;
            cursor: pointer;
            color: var(--gl-text3);
            font-size: 1.15rem;
            display: flex; align-items: center; justify-content: center;
            padding: 4px; line-height: 1;
            transition: color 0.2s;
            z-index: 2;
        }
        .password-toggle:hover { color: var(--brand-green); }

        /* ==================== PASSWORD STRENGTH ==================== */
        .strength-container { margin-top: 8px; margin-bottom: 4px; display: block; clear: both; }
        .strength-bar { height: 4px; border-radius: 2px; transition: all 0.3s ease; }
        .strength-text {
            font-size: 11px; font-weight: 600;
            display: inline-block; margin-top: 5px;
        }
        .password-requirements {
            font-size: 11.5px;
            color: var(--gl-text3);
            margin-top: 10px;
            margin-bottom: 0;
            list-style: none;
            padding-left: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .password-requirements li {
            display: flex; align-items: center; gap: 6px;
            transition: color 0.2s;
        }
        .password-match-msg {
            font-size: 11.5px;
            margin-top: 6px;
            min-height: 18px;
            font-weight: 600;
        }

        /* ==================== INPUT ROW ==================== */
        .input-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        @media (max-width: 520px) {
            .input-row { grid-template-columns: 1fr; gap: 0; }
        }

        /* ==================== LOGIN META ROW ==================== */
        .login-meta-row {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            margin: 0.5rem 0 1.25rem;
        }
        .forgot-link {
            font-size: 0.82rem;
            color: var(--brand-green);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s;
        }
        .forgot-link:hover { color: var(--brand-gold-dark); }

        /* ==================== AUTH BUTTON ==================== */
        .btn-auth {
            width: 100%;
            background: var(--brand-gold);
            color: var(--brand-green);
            border: none;
            padding: 15px;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.25s ease;
            display: flex; align-items: center; justify-content: center;
            gap: 10px;
            margin-top: 0.5rem;
            font-family: inherit;
            box-shadow: 0 8px 22px rgba(248, 187, 1, 0.3);
        }
        .btn-auth:hover {
            background: var(--brand-green);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(3, 83, 59, 0.3);
        }
        .btn-auth:active { transform: translateY(0); }
        .btn-auth i { font-size: 1.05rem; }

        /* ==================== TERMS TEXT ==================== */
        .terms-text {
            font-size: 0.72rem;
            color: var(--gl-text3);
            text-align: center;
            margin-top: 1.5rem;
            line-height: 1.6;
        }
        .terms-text a {
            color: var(--brand-green);
            text-decoration: none;
            font-weight: 600;
        }
        .terms-text a:hover { color: var(--brand-gold-dark); }

        /* ==================== TOAST ==================== */
        .toast-container {
            position: fixed;
            top: 90px; right: 20px;
            z-index: 10000;
            display: flex; flex-direction: column;
            gap: 12px;
            max-width: 400px;
            width: calc(100% - 40px);
            pointer-events: none;
        }
        @media (max-width: 480px) {
            .toast-container { top: 70px; right: 10px; left: 10px; width: auto; max-width: none; }
        }
        .toast {
            background: #ffffff;
            border-radius: var(--gl-radius);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
            padding: 1rem 1.15rem;
            display: flex; align-items: flex-start; gap: 12px;
            border-left: 4px solid var(--brand-green);
            pointer-events: auto;
            animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
        }
        @keyframes toastSlideIn {
            from { opacity: 0; transform: translateX(100%); }
            to   { opacity: 1; transform: translateX(0); }
        }
        .toast.toast-hiding {
            animation: toastSlideOut 0.35s cubic-bezier(0.7, 0, 0.3, 1) forwards;
        }
        @keyframes toastSlideOut {
            from { opacity: 1; transform: translateX(0); }
            to   { opacity: 0; transform: translateX(100%); }
        }
        .toast.toast-error   { border-left-color: #DC2626; }
        .toast.toast-success { border-left-color: var(--brand-green); }
        .toast.toast-warning { border-left-color: var(--brand-gold); }

        /*.toast-icon {*/
        /*    width: 36px; height: 36px;*/
        /*    border-radius: 10px;*/
        /*    display: flex; align-items: center; justify-content: center;*/
        /*    font-size: 1.15rem; flex-shrink: 0;*/
        /*}*/
        /*.toast-success .toast-icon { background: var(--brand-green-pale); color: var(--brand-green); }*/
        /*.toast-error   .toast-icon { background: #fee2e2; color: #DC2626; }*/
        /*.toast-warning .toast-icon { background: var(--brand-gold-pale); color: var(--brand-gold-dark); }*/

        .toast-content { flex: 1; min-width: 0; }
        .toast-title {
            font-size: 0.9rem; font-weight: 700;
            color: var(--gl-text1);
            margin-bottom: 2px;
            display: flex; align-items: center; gap: 6px;
        }
        .toast-message {
            font-size: 0.82rem;
            color: var(--gl-text2);
            line-height: 1.5;
            word-wrap: break-word;
        }
        .toast-close {
            background: none; border: none;
            cursor: pointer;
            color: var(--gl-text3);
            font-size: 1.1rem;
            padding: 4px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 6px;
            transition: all 0.2s;
            flex-shrink: 0;
        }
        .toast-close:hover { background: var(--gl-warm); color: var(--gl-text1); }

        .toast-progress {
            position: absolute;
            bottom: 0; left: 0;
            height: 3px;
            background: var(--brand-green);
            border-radius: 0 0 0 var(--gl-radius);
            animation: toastProgress 5s linear forwards;
        }
        .toast-error   .toast-progress { background: #DC2626; }
        .toast-warning .toast-progress { background: var(--brand-gold); }

        @keyframes toastProgress {
            from { width: 100%; }
            to   { width: 0%; }
        }

        /* ==================== RESPONSIVE ==================== */
        @media (max-width: 768px) { body { padding-top: 65px; } }
        @media (max-width: 480px) { body { padding-top: 60px; } }
