:root {
    --primary: #00a1c9;
    --primary-dark: #006f8c;
    --primary-glow: rgba(0, 122, 191, .18);
    --accent: #49d3e8;
    --bg: #ffffff;
    --surface: rgba(248, 250, 252, .94);
    --border: rgba(43, 72, 111, .16);
    --input: #ffffff;
    --text: #253f65;
    --muted: #60758e;
    --success: #10b981;
    --danger: #ef4444;
    --radius: 14px;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
    margin: 0; color: var(--text); font-family: Inter, "Segoe UI", sans-serif;
    background: #ffffff;
}
.bg-grid { display: none; }
.orb { display: none; }
.orb-one { width: 340px; height: 340px; background: var(--primary); left: -100px; top: -90px; }
.orb-two { width: 290px; height: 290px; background: var(--accent); right: -80px; bottom: -90px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-25px) scale(1.06); } }
.page { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 56px; padding: 32px 18px 62px; }
.brand-panel { flex: 1; max-width: 480px; text-align: center; animation: enter-left .65s ease both; }
.brand-logo { width: 100%; max-width: 390px; max-height: 210px; object-fit: contain; filter: drop-shadow(0 10px 26px rgba(43,72,111,.12)); margin-bottom: 22px; }
.brand-tagline { max-width: 370px; margin: 0 auto; color: var(--muted); font-size: 1.04rem; line-height: 1.65; }
.brand-tagline strong { color: var(--text); }
.auth-card { flex: 1; width: 100%; max-width: 440px; padding: 42px 40px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: 0 24px 60px rgba(43,72,111,.12), 0 0 32px var(--primary-glow); backdrop-filter: blur(22px); animation: enter-right .65s .08s ease both; }
@keyframes enter-left { from { opacity: 0; transform: translateX(-28px); } }
@keyframes enter-right { from { opacity: 0; transform: translateX(28px); } }
.card-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 16px; color: white; background: linear-gradient(135deg, var(--primary-dark), var(--accent)); box-shadow: 0 8px 25px var(--primary-glow); }
.card-title { margin: 0 0 7px; font-size: 1.72rem; font-weight: 800; letter-spacing: -.03em; }
.card-subtitle { margin: 0 0 28px; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; margin-bottom: 21px; border-radius: 11px; font-size: .9rem; line-height: 1.45; }
.alert-warning { color: #92400e; background: rgba(245,158,11,.1); border: 1px solid rgba(217,119,6,.24); }
.alert-danger { color: #b91c1c; background: rgba(239,68,68,.08); border: 1px solid rgba(220,38,38,.2); }
.alert-success { color: #047857; background: rgba(16,185,129,.09); border: 1px solid rgba(5,150,105,.22); }
.form-group { margin-bottom: 21px; }
.form-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: .82rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.input-wrap { position: relative; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; color: var(--muted); pointer-events: none; }
.form-control { width: 100%; padding: 13px 45px 13px 43px; border: 1px solid var(--border); border-radius: var(--radius); outline: 0; background: var(--input); color: var(--text); font: inherit; transition: .2s; }
.form-control::placeholder { color: rgba(154,181,191,.55); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); background: #ffffff; }
.toggle-password { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 7px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.btn-submit { width: 100%; display: flex; justify-content: center; align-items: center; gap: 9px; padding: 14px 20px; margin-top: 7px; border: 0; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent)); box-shadow: 0 7px 22px var(--primary-glow); font: 700 1rem Inter, sans-serif; cursor: pointer; transition: .2s; }
.btn-submit:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.forgot-link, .back-link { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 25px; color: var(--muted); font-size: .89rem; text-decoration: none; transition: color .2s; }
.forgot-link:hover, .back-link:hover { color: var(--accent); }
.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 25px; }
.step-dot { width: 8px; height: 8px; border-radius: 5px; background: var(--border); }
.step-dot.active { width: 24px; background: var(--primary); }
.step-label { margin-left: 6px; color: var(--muted); font-size: .87rem; }
.footer { position: fixed; z-index: 2; left: 0; right: 0; bottom: 0; padding: 15px 12px; color: #253f65; background: rgba(255,255,255,.96); border-top: 1px solid rgba(43,72,111,.12); text-align: center; font-size: .9rem; font-weight: 700; letter-spacing: .01em; box-shadow: 0 -5px 18px rgba(43,72,111,.05); }
@media (max-width: 820px) { .page { flex-direction: column; gap: 26px; padding-top: 25px; } .brand-panel { flex: none; } .brand-logo { max-width: 260px; max-height: 115px; margin-bottom: 8px; } .brand-tagline { font-size: .9rem; } .auth-card { flex: none; padding: 31px 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
