:root {
    --background: #e8edf5;
    --surface: #ffffff;
    --surface-soft: #f5f7fb;
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --accent: #0891b2;
    --text: #172033;
    --muted: #667085;
    --border: #d7deea;
    --error: #b42318;
    --error-background: #fef3f2;
    --success: #067647;
    --success-background: #ecfdf3;
    --shadow: 0 24px 60px rgba(30, 41, 59, 0.13);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--background); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.login-page { min-height: 100vh; }
.login-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 100vh; }
.information-panel { display: flex; align-items: center; justify-content: center; padding: 64px; color: #fff; background: radial-gradient(circle at top left, rgba(34,211,238,.28), transparent 40%), linear-gradient(145deg,#26365f,#3f3a78 55%,#245d76); }
.information-content { width: 100%; max-width: 560px; }
.security-badge { display: inline-flex; padding: 7px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.1); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.information-content h1 { margin: 24px 0 18px; font-size: clamp(2.2rem,5vw,4.3rem); line-height: 1.04; }
.information-content p { margin: 0; color: rgba(255,255,255,.8); font-size: 1.05rem; line-height: 1.75; }
.security-list { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; }
.security-list li { display: flex; align-items: center; gap: 10px; line-height: 1.5; }
.security-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: rgba(34,211,238,.35); font-weight: 800; }
.form-panel, .single-panel { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 40px; background: var(--surface-soft); }
.login-card { width: min(100%,440px); padding: 38px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-icon { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 8px; border-radius: 13px; color: #fff; background: linear-gradient(135deg,var(--primary),var(--accent)); font-weight: 800; }
.brand-text strong, .brand-text span { display: block; }
.brand-text span { margin-top: 2px; color: var(--muted); font-size: .8rem; }
.login-heading { margin: 34px 0 28px; }
.login-heading h1, .login-heading h2 { margin: 0; font-size: 1.8rem; }
.login-heading p { margin: 9px 0 0; color: var(--muted); line-height: 1.6; }
.field { margin-bottom: 19px; }
.field label { display: block; margin-bottom: 8px; color: #344054; font-size: .86rem; font-weight: 700; }
.field input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: 11px; outline: none; color: var(--text); background: #fbfcfe; font: inherit; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 76px; }
.toggle-password { position: absolute; top: 50%; right: 9px; padding: 7px 10px; border: 0; border-radius: 8px; color: var(--primary); background: transparent; font-weight: 700; transform: translateY(-50%); cursor: pointer; }
.toggle-password:hover { background: #eef2ff; }
.message { display: none; margin-bottom: 16px; padding: 11px 13px; border-radius: 9px; font-size: .84rem; line-height: 1.5; }
.message-error { display: block; color: var(--error); background: var(--error-background); border: 1px solid #fecdca; }
.message-success { display: block; color: var(--success); background: var(--success-background); border: 1px solid #abefc6; }
.login-button { width: 100%; min-height: 48px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(100deg,var(--primary),#5b58ad); font: inherit; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.login-button:hover { box-shadow: 0 10px 24px rgba(79,70,229,.22); transform: translateY(-1px); }
.login-button:disabled { opacity: .65; cursor: wait; transform: none; box-shadow: none; }
.security-note { margin: 22px 0 0; color: var(--muted); font-size: .77rem; line-height: 1.55; text-align: center; }
.return-link { display: block; padding: 12px 16px; border-radius: 10px; color: #fff; background: var(--primary); text-align: center; text-decoration: none; font-weight: 700; }
.return-link:hover { background: var(--primary-hover); }
@media (max-width: 850px) { .login-layout { grid-template-columns: 1fr; } .information-panel { padding: 45px 25px; } .information-content h1 { font-size: 2.4rem; } .form-panel { min-height: auto; padding: 30px 18px; } .login-card { padding: 28px 22px; } }
