
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        :root {
            --c1:     #100958;
            --c2:     #11948f;
            --grad:   linear-gradient(135deg, #100958 0%, #11948f 100%);
            --white:  #ffffff;
            --light:  #f4f6fb;
            --border: #d8dce8;
            --txt:    #1a1a2e;
            --sub:    #5a6480;
            --red:    #e53e3e;
            --green:  #16a34a;
        }

        html, body {
            height: 100%;
            overflow: hidden;
            font-family: 'Nunito', sans-serif;
            background: var(--c1);
        }

        /* ── LAYOUT ─────────────────────────── */
        .shell {
            display: grid;
            grid-template-columns: 1fr 1fr;
            height: 100vh;
        }

        /* ── LEFT: IMAGE PANEL ───────────────── */
        .img-panel {
            position: relative;
            overflow: hidden;
        }
        .bg-img {
            position: absolute; inset: 0;
            width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 9s ease;
        }
        .img-panel:hover .bg-img { transform: scale(1.05); }
        .img-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(
                160deg,
                rgba(16,9,88,.72) 0%,
                rgba(17,148,143,.45) 55%,
                rgba(16,9,88,.85) 100%
            );
        }
        .orb {
            position: absolute; border-radius: 50%;
            filter: blur(55px); pointer-events: none; opacity: .4;
        }
        .orb-a { width:220px;height:220px;background:#100958;top:-60px;right:-60px;animation:drift 9s ease-in-out infinite; }
        .orb-b { width:160px;height:160px;background:#11948f;bottom:30px;left:-40px;animation:drift 7s 2s ease-in-out infinite reverse; }
        @keyframes drift { 0%,100%{transform:translate(0,0);}50%{transform:translate(16px,-18px);} }

        .img-body {
            position: absolute; inset: 0;
            display: flex; flex-direction: column;
            justify-content: flex-end;
            padding: 30px 36px;
            z-index: 2;
        }
        .brand {
            position: absolute; top: 26px; left: 36px;
            display: flex; align-items: center; gap: 10px;
        }
        .brand-gem {
            width: 36px; height: 36px;
            background: var(--grad);
            border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            font-size: 16px; color: #fff;
            box-shadow: 0 4px 16px rgba(17,148,143,.5);
        }
        .brand-name {
            font-family: 'Playfair Display', serif;
            font-size: 22px; font-weight: 700; color: #fff;
        }
        .img-headline {
            font-family: 'Playfair Display', serif;
            font-size: 32px; line-height: 1.2; font-weight: 700;
            color: #fff; margin-bottom: 10px;
            text-shadow: 0 2px 20px rgba(0,0,0,.4);
        }
        .img-sub {
            font-size: 14px; color: rgba(255,255,255,.72);
            line-height: 1.65; max-width: 290px; margin-bottom: 18px;
        }
        .badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
        .badge-pill {
            padding: 5px 13px; border-radius: 20px;
            font-size: 11.5px; font-weight: 700;
            background: rgba(255,255,255,.15);
            border: 1px solid rgba(255,255,255,.28);
            color: rgba(255,255,255,.9);
            backdrop-filter: blur(8px);
        }

        /* ── RIGHT: FORM PANEL ───────────────── */
        .form-panel {
            background: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 28px 40px;
            overflow: hidden;
            position: relative;
        }
        /* top color stripe */
        .form-panel::before {
            content: '';
            position: absolute; top: 0; left: 0; right: 0;
            height: 4px;
            background: var(--grad);
        }
        /* dot pattern */
        .form-panel::after {
            content: '';
            position: absolute; inset: 0;
            background-image: radial-gradient(rgba(17,148,143,.07) 1px, transparent 1px);
            background-size: 22px 22px;
            pointer-events: none;
        }

        .form-box {
            width: 100%; max-width: 380px;
            position: relative; z-index: 1;
            animation: riseUp .45s ease both;
        }
        @keyframes riseUp {
            from { opacity:0; transform:translateY(14px); }
            to   { opacity:1; transform:translateY(0); }
        }

        /* heading */
        .fh { margin-bottom: 18px; text-align: center; }
        .fh h3 {
            font-family: 'Playfair Display', serif;
            font-size: 26px; font-weight: 700;
            color: var(--c1); margin-bottom: 4px;
        }
        .fh p { font-size: 13.5px; color: var(--sub); font-weight: 500; }
        .accent-bar {
            width: 38px; height: 4px;
            background: var(--grad);
            border-radius: 3px;
            margin: 0 auto 20px;
        }

        /* field group */
        .form-floating-custom {
            position: relative;
            margin-bottom: 20px;
        }
        .form-floating-custom label {
            position: absolute;
            top: -10px; left: 14px;
            background: white;
            padding: 0 5px;
            font-size: 12px;
            color: var(--sub);
            font-weight: 700;
            letter-spacing: .3px;
            z-index: 1;
        }
        .form-floating-custom input {
            width: 100%;
            background: var(--light);
            border: 1.8px solid var(--border);
            border-radius: 10px;
            color: var(--txt);
            font-family: 'Nunito', sans-serif;
            font-size: 14px; font-weight: 600;
            padding: 14px 14px 14px 42px;
            outline: none;
            transition: border-color .2s, box-shadow .2s, background .2s;
        }
        .form-floating-custom input::placeholder { color: #b0b8cc; font-weight: 500; }
        .form-floating-custom input:focus {
            border-color: var(--c2);
            background: #f0fafa;
            box-shadow: 0 0 0 3px rgba(17,148,143,.14);
        }
        /* field icon */
        .field-icon {
            position: absolute; left: 14px; top: 50%;
            transform: translateY(-50%);
            font-size: 16px; color: #aab0c6;
            pointer-events: none; transition: color .2s;
        }
        .form-floating-custom:focus-within .field-icon { color: var(--c2); }

        /* ── PASSWORD EYE TOGGLE ── */
        .password-wrapper {
            position: relative;
        }
        .password-wrapper input {
            padding-right: 42px; /* space for eye icon on right */
        }
        .eye-toggle {
            position: absolute;
            right: 13px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            color: #aab0c6;
            font-size: 17px;
            line-height: 1;
            transition: color .2s;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .eye-toggle:hover { color: var(--c2); }
        .eye-toggle:focus { outline: none; }

        /* valid/invalid states */
        .form-floating-custom input.is-valid {
            border-color: #22c55e;
            background: #f0fdf4;
        }
        .form-floating-custom input.is-invalid {
            border-color: var(--red);
            background: #fff5f5;
            box-shadow: 0 0 0 3px rgba(229,62,62,.1);
        }

        /* validation message */
        .validation-message {
            font-size: 12px;
            margin-top: 5px;
            display: none;
            font-weight: 600;
            padding-left: 2px;
            animation: slideIn .3s ease;
        }
        .validation-message.show { display: block; }
        .validation-message.valid   { color: var(--green); }
        .validation-message.invalid { color: var(--red); }
        @keyframes slideIn {
            from { opacity:0; transform:translateY(-6px); }
            to   { opacity:1; transform:translateY(0); }
        }

        /* remember / forgot */
        .remember-forgot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 22px;
        }
        .form-check-custom {
            display: flex; align-items: center; gap: 7px;
        }
        .form-check-custom input[type="checkbox"] {
            width: 15px; height: 15px;
            accent-color: var(--c2); cursor: pointer;
        }
        .form-check-custom label {
            font-size: 13px; font-weight: 600; color: var(--sub); cursor: pointer;
        }
        .remember-forgot a {
            font-size: 13px; font-weight: 700;
            color: var(--c2); text-decoration: none;
        }
        .remember-forgot a:hover { text-decoration: underline; }

        /* login button */
        .login-btn {
            width: 100%; padding: 13px;
            background: var(--grad);
            border: none; border-radius: 10px; color: #fff;
            font-family: 'Nunito', sans-serif;
            font-size: 15px; font-weight: 800; letter-spacing: .4px;
            cursor: pointer; position: relative; overflow: hidden;
            transition: opacity .2s, transform .15s, box-shadow .2s;
            box-shadow: 0 6px 22px rgba(17,148,143,.3);
            display: flex; align-items: center; justify-content: center; gap: 8px;
        }
        .login-btn:hover { opacity:.92; transform:translateY(-1px); box-shadow:0 10px 30px rgba(17,148,143,.38); }
        .login-btn:active { transform:translateY(0); }
        .login-btn:disabled { opacity:.55; cursor:not-allowed; transform:none; }
        .login-btn::after {
            content:''; position:absolute; inset:0;
            background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.18) 50%,transparent 62%);
            transform:translateX(-100%); transition:transform .55s ease;
        }
        .login-btn:hover::after { transform:translateX(100%); }

        /* spinner */
        .loading-spinner {
            width: 17px; height: 17px;
            border: 2.5px solid rgba(255,255,255,.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: sp .7s linear infinite;
            display: none;
        }
        @keyframes sp { to { transform: rotate(360deg); } }

        /* register link */
        .reg-link {
            text-align: center; margin-top: 16px;
            color: var(--sub); font-size: 13px; font-weight: 600;
        }
        .reg-link a { color: var(--c1); font-weight: 800; text-decoration: none; }
        .reg-link a:hover { text-decoration: underline; }

        /* shake */
        @keyframes shake {
            0%,100%{transform:translateX(0);}
            10%,30%,50%,70%,90%{transform:translateX(-5px);}
            20%,40%,60%,80%{transform:translateX(5px);}
        }

        /* notification toast */
        .login-notification {
            position: fixed; top: 20px; right: 20px;
            padding: 12px 20px; border-radius: 9px;
            font-weight: 600; font-size: 13.5px;
            z-index: 9999; max-width: 300px;
            box-shadow: 0 4px 16px rgba(0,0,0,.18);
            animation: slideInRight .3s ease;
            font-family: 'Nunito', sans-serif;
        }
        @keyframes slideInRight {
            from { opacity:0; transform:translateX(80px); }
            to   { opacity:1; transform:translateX(0); }
        }
        @keyframes slideOutRight {
            from { opacity:1; transform:translateX(0); }
            to   { opacity:0; transform:translateX(80px); }
        }

        /* ── RESPONSIVE ──────────────────────── */
        @media (max-width: 768px) {
            html, body { overflow: auto; }
            .shell { grid-template-columns: 1fr; height: auto; min-height: 100vh; }
            .img-panel { height: 280px; position: relative; }
            .form-panel { padding: 28px 20px; overflow: auto; }
            .form-box { max-width: 100%; }
            .fh h3 { font-size: 22px; }
            
            .img-body {
                padding: 20px;
                text-align: center;
            }
            .brand {
                position: static;
                justify-content: center;
                margin-bottom: 15px;
            }
            .img-headline {
                font-size: 24px;
                line-height: 1.3;
                margin-bottom: 8px;
                text-align: center;
            }
            .img-sub {
                font-size: 13px;
                max-width: 100%;
                margin: 0 auto 15px;
                text-align: center;
                line-height: 1.5;
            }
            .badge-row {
                justify-content: center;
                gap: 6px;
                margin-top: 15px;
            }
            .badge-pill {
                font-size: 10px;
                padding: 4px 10px;
            }
            
            .orb-a { 
                width: 150px; 
                height: 150px; 
                top: -40px; 
                right: -30px; 
            }
            .orb-b { 
                width: 120px; 
                height: 120px; 
                bottom: 20px; 
                left: -20px; 
            }
        }
        
        @media (max-width: 480px) {
            .img-panel { height: 220px; }
            .form-panel { padding: 22px 14px; }
            .fh h3 { font-size: 20px; }
            .form-floating-custom input { font-size: 13.5px; }
            .login-btn { font-size: 14px; }
            
            .img-body {
                padding: 15px;
            }
            .brand-gem {
                width: 30px;
                height: 30px;
                font-size: 14px;
            }
            .brand-name {
                font-size: 18px;
            }
            .img-headline {
                font-size: 20px;
                margin-bottom: 6px;
            }
            .img-sub {
                font-size: 12px;
                margin-bottom: 12px;
            }
            .badge-row {
                gap: 4px;
            }
            .badge-pill {
                font-size: 9px;
                padding: 3px 8px;
            }
            
            .orb-a { 
                width: 100px; 
                height: 100px; 
                top: -30px; 
                right: -20px; 
            }
            .orb-b { 
                width: 80px; 
                height: 80px; 
                bottom: 15px; 
                left: -15px; 
            }
        }
        
        @media (max-width: 360px) {
            .img-panel { height: 200px; }
            .form-panel { padding: 20px 12px; }
            .img-body { padding: 12px; }
            .img-headline { font-size: 18px; }
            .img-sub { font-size: 11px; }
            .brand-gem { width: 28px; height: 28px; }
            .brand-name { font-size: 16px; }
            .badge-pill { font-size: 8px; padding: 2px 6px; }
        }
   