/* ============================================
   AUTH / LOGIN PAGE
   ============================================ */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }

.auth-side {
  background: linear-gradient(165deg, var(--primary), var(--primary-dark) 70%);
  color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-side .blob { position: absolute; border-radius: 50%; background: var(--secondary); opacity: .16; }
.auth-side .blob.b1 { width: 320px; height: 320px; top: -100px; right: -100px; }
.auth-side .blob.b2 { width: 220px; height: 220px; bottom: -80px; left: -60px; opacity: .1; }
.auth-side .l-brand .word { color: #fff; }
.auth-side-body { position: relative; z-index: 1; max-width: 400px; }
.auth-side-body h2 { color: #fff; font-size: 28px; margin-bottom: 14px; }
.auth-side-body p { color: rgba(255,255,255,.78); font-size: 14px; }
.auth-side-feats { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.auth-side-feats div { display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.92); }
.auth-side-feats i { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.auth-side-foot { position: relative; z-index: 1; font-size: 12px; color: rgba(255,255,255,.6); }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; position: relative; }
.auth-box { width: 100%; max-width: 380px; }
.auth-box .l-brand { display: none; margin-bottom: 30px; }
.auth-top-toggle { position: absolute; top: 24px; right: 28px; }

.role-tabs { display: flex; gap: 8px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 5px; margin-bottom: 30px; }
.role-tab { flex: 1; text-align: center; padding: 10px 8px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 700; color: var(--text-muted); background: none; border: none; display: flex; align-items: center; justify-content: center; gap: 8px; }
.role-tab.active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }

.auth-box h1 { font-size: 23px; margin-bottom: 6px; }
.auth-box .sub { font-size: 13.5px; margin-bottom: 28px; }
.auth-box .form-foot { display: flex; justify-content: space-between; align-items: center; margin: -6px 0 22px; font-size: 12.5px; }
.check-row { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.check-row input { accent-color: var(--primary); }
.demo-note { margin-top: 22px; text-align: center; font-size: 12px; color: var(--text-faint); background: var(--surface-alt); border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); padding: 10px; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 26px; }
.auth-back:hover { color: var(--primary); }

@media (max-width: 880px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-box .l-brand { display: flex; }
  .auth-top-toggle { top: 18px; right: 18px; }
}
