/* ====== Auth Pages Common Styles ====== */
*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}
body{font-family:"Segoe UI Variable","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",Arial,sans-serif;overflow-y:auto;padding-top:56px;padding-bottom:48px}

/* Split Layout */
.auth-split{min-height:calc(100vh - 56px - 48px);display:grid;grid-template-columns:1.05fr 0.95fr;background:radial-gradient(circle at 20% 0%,rgba(241,245,255,.9),transparent 35%),radial-gradient(circle at 90% 80%,rgba(221,255,246,.9),transparent 40%),linear-gradient(160deg,#f8fafc 0%,#eef2ff 52%,#ecfeff 100%)}
@media(max-width:1024px){.auth-split{grid-template-columns:1fr}}

/* Left Panel */
.auth-left{position:relative;display:flex;flex-direction:column;justify-content:flex-end;padding:48px;background:transparent;overflow:hidden}
@media(max-width:1024px){.auth-left{display:none}}
.auth-brand{position:relative;z-index:20;display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700;color:#1e293b;letter-spacing:.5px;margin-bottom:auto;text-decoration:none}
.auth-brand-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;font-size:18px;font-weight:800}
.auth-brand-name{color:#1e293b;font-size:20px;font-weight:700;letter-spacing:1px}
.auth-blur-1{position:absolute;top:15%;right:10%;width:300px;height:300px;background:rgba(148,163,184,.12);border-radius:50%;filter:blur(80px);pointer-events:none;z-index:0}
.auth-blur-2{position:absolute;bottom:10%;left:5%;width:400px;height:400px;background:rgba(203,213,225,.15);border-radius:50%;filter:blur(100px);pointer-events:none;z-index:0}
.auth-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(148,163,184,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.06) 1px,transparent 1px);background-size:40px 40px;pointer-events:none;z-index:1}
.auth-left-text{position:relative;z-index:20;text-align:center;color:#64748b;font-size:14px;line-height:1.7;max-width:420px;margin:0 auto 20px}

/* Animated Characters */
.chars-wrap{position:relative;width:550px;height:420px;margin:0 auto 20px;z-index:20}
.char{position:absolute;bottom:0;transform-origin:bottom center;will-change:transform}
.char-purple{left:70px;width:180px;height:400px;background:#6C3FF5;border-radius:10px 10px 0 0;z-index:1}
.char-black{left:240px;width:120px;height:310px;background:#2D2D2D;border-radius:8px 8px 0 0;z-index:2}
.char-orange{left:0;width:240px;height:200px;background:#FF9B6B;border-radius:120px 120px 0 0;z-index:3}
.char-yellow{left:310px;width:140px;height:230px;background:#E8D754;border-radius:70px 70px 0 0;z-index:4}
.face{position:absolute;display:flex}
.face-purple{gap:32px;left:45px;top:40px}
.face-black{gap:24px;left:26px;top:32px}
.face-orange{gap:32px;left:82px;top:90px}
.face-yellow{gap:24px;left:52px;top:40px}
.eyeball{width:18px;height:18px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.eyeball.black-eye{width:16px;height:16px}
.eyeball-pupil{width:7px;height:7px;border-radius:50%;background:#2D2D2D}
.eyeball-pupil.black-pupil{width:6px;height:6px}
.pupil{width:12px;height:12px;border-radius:50%;background:#2D2D2D}
.mouth{position:absolute;width:80px;height:4px;background:#2D2D2D;border-radius:9999px;left:40px;top:88px}
@keyframes blink{0%,90%,100%{height:18px}95%{height:2px}}
@keyframes blinkBlack{0%,90%,100%{height:16px}95%{height:2px}}
.eyeball{animation:blink 4s infinite}
.eyeball.black-eye{animation:blinkBlack 4.5s infinite;animation-delay:1s}

/* Right Panel */
.auth-right{display:flex;align-items:center;justify-content:flex-start;padding:84px 48px 18px 32px;background:transparent}
@media(max-width:1024px){.auth-right{padding:60px 24px;justify-content:center}}

/* Form Wrapper */
.auth-form-wrap{width:100%;max-width:430px;border-radius:16px;border:1px solid rgba(255,255,255,.4);box-shadow:0 32px 64px rgba(0,0,0,.08),0 0 0 1px rgba(255,255,255,.1);backdrop-filter:blur(40px) saturate(180%);background:rgba(255,255,255,.72);padding:36px 32px 30px}
@media(max-width:1024px){.auth-form-wrap{max-width:420px}}
.auth-tag{margin:0 0 16px;text-align:center;font-size:11px;font-weight:700;letter-spacing:.14em;color:#0f766e}
.auth-header{text-align:center;margin-bottom:28px}
.auth-title{font-size:28px;font-weight:700;letter-spacing:-.03em;color:#0b1220;margin:0 0 8px;line-height:1.3}
.auth-subtitle{font-size:14px;color:#64748b;margin:0;line-height:1.6}

/* Form Elements */
.auth-label{font-size:13px;font-weight:600;color:#334155;margin-bottom:6px;letter-spacing:.3px;display:block}
.auth-form input,.auth-form select{width:100%;height:48px;padding:0 16px;border:1px solid rgba(0,0,0,.08);border-radius:8px;font-size:14px;background:rgba(255,255,255,.6);color:#1a1a2e;transition:border-color .2s,box-shadow .2s,background .2s;margin-bottom:16px;backdrop-filter:blur(4px)}
.auth-form input:hover,.auth-form select:hover{border-color:rgba(0,0,0,.15);background:rgba(255,255,255,.85)}
.auth-form input:focus,.auth-form select:focus{outline:none;border-color:#0078d4;box-shadow:0 0 0 3px rgba(0,120,212,.12);background:#fff}
.auth-form input::placeholder{color:#9aa4b2}
.auth-btn{height:48px;width:100%;font-size:15px;font-weight:600;border-radius:8px;background:linear-gradient(135deg,#0f766e 0%,#14b8a6 100%);border:none;letter-spacing:.3px;box-shadow:0 4px 12px rgba(15,118,110,.2);transition:transform .15s,box-shadow .15s,opacity .15s;cursor:pointer;color:#fff;margin-top:8px}
.auth-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(15,118,110,.28)}
.auth-btn:active{transform:translateY(0);opacity:.9}
.auth-btn.green{background:linear-gradient(135deg,#10b981 0%,#34d399 100%);box-shadow:0 4px 12px rgba(16,185,129,.2)}
.auth-btn.green:hover{box-shadow:0 6px 16px rgba(16,185,129,.28)}
.auth-btn-sm{height:44px;width:120px;font-size:13px;font-weight:600;border-radius:8px;background:#f1f5f9;border:1px solid #d8dee8;cursor:pointer;color:#334155;transition:all .2s}
.auth-btn-sm:hover{background:#e2e8f0}

/* Extras */
.auth-extra{display:flex;justify-content:space-between;align-items:center;margin:-4px 0 14px;font-size:13px;color:#64748b}
.auth-extra label{display:flex;align-items:center;gap:6px;cursor:pointer}
.auth-extra input{width:auto;height:auto;margin:0}
.auth-extra a{color:#64748b;text-decoration:none;font-size:13px}
.auth-extra a:hover{color:#0f766e;text-decoration:underline}
.auth-footer{text-align:center;font-size:13px;color:#64748b;margin:20px 6px 0;line-height:1.6}
.auth-footer a{color:#0f766e;text-decoration:none;font-weight:600}
.auth-footer a:hover{text-decoration:underline}
.auth-code-row{display:flex;gap:10px;align-items:center}
.auth-code-row input{flex:1;margin-bottom:0}
.auth-code-row button{flex-shrink:0}

/* Alert */
.auth-alert{padding:12px 16px;border-radius:8px;margin-bottom:16px;font-size:14px;backdrop-filter:blur(8px)}
.auth-alert.error{background:#ffebee;color:#c62828}
.auth-alert.success{background:#e8f5e9;color:#2e7d32}
.auth-alert.info{background:#e3f2fd;color:#1565c0}

/* Steps */
.auth-step{display:none}
.auth-step.active{display:block}

/* Dark Mode */
[data-theme="dark"] .auth-split{background:radial-gradient(circle at 20% 0%,rgba(30,41,59,.9),transparent 35%),radial-gradient(circle at 90% 80%,rgba(15,23,42,.9),transparent 40%),linear-gradient(160deg,#0f172a 0%,#1e293b 52%,#0f172a 100%)}
[data-theme="dark"] .auth-brand-name{color:#f1f5f9}
[data-theme="dark"] .auth-left-text{color:#94a3b8}
[data-theme="dark"] .auth-form-wrap{background:rgba(30,41,59,.65);border-color:rgba(255,255,255,.08);box-shadow:0 32px 64px rgba(0,0,0,.2),0 0 0 1px rgba(255,255,255,.05)}
[data-theme="dark"] .auth-title{color:#f1f5f9}
[data-theme="dark"] .auth-subtitle{color:#94a3b8}
[data-theme="dark"] .auth-label{color:#cbd5e1}
[data-theme="dark"] .auth-form input,.auth-form select{background:rgba(15,23,42,.5);border-color:rgba(255,255,255,.1);color:#f1f5f9}
[data-theme="dark"] .auth-form input:hover,.auth-form select:hover{background:rgba(15,23,42,.65);border-color:rgba(255,255,255,.18)}
[data-theme="dark"] .auth-form input:focus,.auth-form select:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.15);background:rgba(15,23,42,.7)}
[data-theme="dark"] .auth-form input::placeholder{color:#64748b}
[data-theme="dark"] .auth-footer{color:#94a3b8}
[data-theme="dark"] .auth-extra{color:#94a3b8}
[data-theme="dark"] .auth-extra a{color:#94a3b8}
[data-theme="dark"] .auth-btn-sm{background:#1e293b;border-color:#334155;color:#cbd5e1}
[data-theme="dark"] .auth-btn-sm:hover{background:#334155}
[data-theme="dark"] .auth-alert.info{background:rgba(21,101,192,.15);color:#60a5fa}
.global-navbar .nav-cta{color:#fff!important}
