/* Auth pages */
.auth{min-height:100vh;display:grid;grid-template-columns:1.02fr 1fr;background:#fff}
.auth-visual{position:relative;background:#0a1732;color:#fff;padding:40px 46px;display:flex;flex-direction:column;overflow:hidden;min-height:100vh}
.auth-visual::before{content:'';position:absolute;inset:0;background-image:url('../img/onboard.jpg');background-size:cover;background-position:center;opacity:.30;filter:saturate(.9)}
.auth-visual::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,23,50,.86) 0%,rgba(10,23,50,.72) 42%,rgba(10,23,50,.94) 100%)}
.auth-visual > *{position:relative;z-index:2}
.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:auto}
.auth-brand img{width:42px}
.auth-brand b{display:block;font-family:var(--font-head);font-size:18px;letter-spacing:.02em}
.auth-brand span{display:block;font-size:8.4px;letter-spacing:.18em;font-weight:700;color:#d8e1f1}
.auth-brand span i{font-style:normal;color:#ff5f76}
.auth-copy{margin:44px 0 28px;max-width:430px}
.auth-copy .tag{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:5px 12px;font-size:11.5px;font-weight:600;margin-bottom:16px}
.auth-copy h1{color:#fff;font-size:clamp(28px,2.7vw,40px);line-height:1.15;letter-spacing:-.02em;margin-bottom:12px}
.auth-copy h1 em{font-style:normal;color:#ff4059}
.auth-copy p{color:#c2cfe4;font-size:13.5px;line-height:1.7;max-width:390px}
.auth-feats{display:grid;gap:12px;margin-top:22px}
.auth-feat{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;color:#dbe5f5}
.auth-feat .ck{width:22px;height:22px;border-radius:7px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;flex:none;color:#7ee2a8}
.auth-feat .ck svg{width:13px;height:13px}
.auth-feat b{display:block;color:#fff;font-size:12.8px;margin-bottom:1px}
.auth-stats{display:flex;gap:26px;margin-top:auto;padding-top:26px;border-top:1px solid rgba(255,255,255,.12)}
.auth-stats b{display:block;font-family:var(--font-head);font-size:21px;color:#fff;line-height:1.1}
.auth-stats span{font-size:10.5px;color:#a8b7d0;letter-spacing:.04em}

.auth-main{display:flex;align-items:center;justify-content:center;padding:38px 28px;background:#fbfcfe;overflow:auto}
.auth-box{width:100%;max-width:420px}
.auth-logo-m{display:none;justify-content:center;margin-bottom:18px}
.auth-logo-m img{width:56px}
.auth-box h2{font-size:25px;letter-spacing:-.02em;text-align:center;margin-bottom:4px}
.auth-box .sub{text-align:center;font-size:13px;color:var(--muted);margin-bottom:20px}
.auth-tabs{display:flex;background:#eef2f8;border-radius:11px;padding:4px;margin-bottom:20px}
.auth-tabs button{flex:1;border:0;background:transparent;padding:9px;border-radius:8px;font-weight:600;font-size:13px;color:var(--muted)}
.auth-tabs button.on{background:#fff;color:var(--navy);box-shadow:0 1px 3px rgba(13,35,80,.12)}
.auth-box .field label{font-size:12.3px}
.auth-box input{padding:12px 13px}
.pw-wrap{position:relative}
.pw-wrap input{padding-right:44px}
.pw-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:none;border:0;color:var(--muted);width:32px;height:32px;display:flex;align-items:center;justify-content:center}
.pw-toggle svg{width:17px;height:17px}
.auth-row{display:flex;align-items:center;justify-content:space-between;margin:-4px 0 16px;font-size:12.3px}
.auth-row a{color:var(--red);font-weight:600}
.auth-box .btn-lg{width:100%;padding:13px;font-size:14.5px}
.or{display:flex;align-items:center;gap:10px;color:var(--faint);font-size:11.5px;margin:18px 0}
.or::before,.or::after{content:'';flex:1;height:1px;background:var(--line)}
.social{display:flex;gap:10px}
.social button{flex:1;border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--ink)}
.social button:hover{border-color:#c8d3e4;background:#f8faff}
.social svg{width:17px;height:17px}
.auth-foot{text-align:center;font-size:12.5px;color:var(--muted);margin-top:18px}
.auth-foot a{color:var(--red);font-weight:700}
.auth-admin-link{display:flex;align-items:center;gap:9px;margin-top:14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#f8faff;transition:.16s}
.auth-admin-link:hover{border-color:var(--navy);background:#f1f5fc}
.auth-admin-link > i{display:flex;align-items:center;flex:none;color:var(--navy)}
.auth-admin-link > i svg{width:16px;height:16px}
.auth-admin-link span{font-size:11.2px;color:var(--muted);display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.auth-admin-link b{font-size:11.8px;color:var(--navy);margin-right:3px}
.auth-admin-link span i{display:inline-flex;align-items:center}
.auth-admin-link span i svg{width:12px;height:12px;color:var(--faint)}
.demo-box{margin-top:22px;border:1px dashed #cdd8e9;border-radius:12px;padding:12px 14px;background:#f7faff}
.demo-box b{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:8px}
.demo-chips{display:flex;gap:7px;flex-wrap:wrap}
.demo-chip{border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px 10px;font-size:11.5px;font-weight:600;color:var(--navy)}
.demo-chip:hover{border-color:var(--navy);background:var(--navy-50)}
.auth-err{background:#fdecef;color:#b00d26;border:1px solid #f6c9d1;padding:10px 12px;border-radius:9px;font-size:12.5px;margin-bottom:12px}
#modalBack .modal .field{margin-bottom:9px}
.auth-note{text-align:center;font-size:10.8px;color:var(--faint);margin-top:16px;line-height:1.6}

@media(max-width:900px){
  .auth{grid-template-columns:1fr}
  .auth-visual{display:none}
  .auth-main{padding:26px 18px 36px;align-items:flex-start;background:#fff}
  .auth-logo-m{display:flex}
  .auth-box{max-width:440px}
  .auth-box h2{font-size:22px}
  .demo-box{margin-top:18px}
}
.rs-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rs-grid .field{margin-bottom:9px}
@media(max-width:560px){.rs-grid{grid-template-columns:1fr;gap:0}}
