/* AUTH CSS */
.auth-body { background: linear-gradient(135deg, #EEF4FF 0%, #FFF7F0 100%); min-height: 100vh; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

/* LEFT */
.auth-left {
  background: linear-gradient(160deg, #1253B5, #1D6FE8 60%, #0EA47A);
  padding: var(--space-2xl); display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.auth-left::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.auth-back { position: relative; z-index: 1; color: rgba(255,255,255,0.7); font-size: 0.85rem; text-decoration: none; margin-bottom: var(--space-2xl); display: inline-block; transition: var(--transition); }
.auth-back:hover { color: #fff; }
.auth-brand { position: relative; z-index: 1; margin-bottom: var(--space-2xl); }
.auth-logo { font-size: 2.5rem; margin-bottom: 8px; }
.auth-brand .brand-name { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.auth-tagline { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.5; }
.auth-features { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.af-item { display: flex; gap: 14px; align-items: flex-start; }
.af-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.af-item strong { display: block; font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.af-item p { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin: 0; }
.auth-stats { display: flex; gap: 20px; padding: var(--space-lg) 0 0; border-top: 1px solid rgba(255,255,255,0.15); position: relative; z-index: 1; }
.as-item { text-align: center; }
.as-num { font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 800; color: #fff; }
.as-label { font-size: 0.72rem; color: rgba(255,255,255,0.55); }

/* RIGHT */
.auth-right { display: flex; align-items: center; justify-content: center; padding: var(--space-2xl); overflow-y: auto; }
.auth-card { background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; max-width: 500px; padding: var(--space-xl); }
.auth-tabs { display: flex; background: var(--bg); border-radius: var(--radius-full); padding: 4px; margin-bottom: var(--space-lg); }
.auth-tab { flex: 1; padding: 9px; border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.auth-tab.active { background: var(--surface); color: var(--blue); box-shadow: var(--shadow-sm); }
.auth-header { margin-bottom: var(--space-lg); }
.auth-header h2 { font-size: 1.4rem; margin-bottom: 4px; }
.auth-header p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.auth-switch { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 16px; }
.auth-switch a { color: var(--blue); font-weight: 600; text-decoration: none; }

/* Demo accounts */
.demo-accounts { background: var(--blue-light); border-radius: var(--radius); padding: 14px; margin: 16px 0; }
.demo-title { font-size: 0.82rem; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.demo-btn { padding: 8px 12px; border-radius: var(--radius); border: 1.5px solid rgba(29,111,232,0.3); background: var(--surface); font-size: 0.82rem; font-weight: 600; color: var(--blue); cursor: pointer; transition: var(--transition); }
.demo-btn:hover { background: var(--blue); color: #fff; }

/* Role selector */
.step-label-text { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; margin-bottom: 14px; }
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.role-card { border: 2px solid var(--border); border-radius: var(--radius); padding: 16px 12px; text-align: center; cursor: pointer; transition: var(--transition); }
.role-card:hover { border-color: var(--blue); background: var(--blue-light); }
.role-card.selected { border-color: var(--blue); background: var(--blue-light); box-shadow: 0 0 0 3px rgba(29,111,232,0.15); }
.role-card .role-icon { font-size: 2rem; margin-bottom: 8px; }
.role-card h4 { font-size: 0.85rem; margin-bottom: 3px; }
.role-card p { font-size: 0.72rem; color: var(--text-muted); margin: 0; }

/* OTP */
.verify-box { text-align: center; padding: var(--space-md) 0; }
.verify-icon { font-size: 3rem; margin-bottom: var(--space-sm); }
.verify-box h3 { margin-bottom: 8px; }
.verify-box p { font-size: 0.85rem; color: var(--text-muted); max-width: 280px; margin: 0 auto; }
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.otp-box {
  width: 44px; height: 52px; border: 2px solid var(--border);
  border-radius: var(--radius); font-size: 1.4rem; font-weight: 700;
  text-align: center; outline: none; transition: var(--transition); color: var(--text-primary);
}
.otp-box:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,232,0.15); }

/* Responsive */
@media(max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: var(--space-lg); }
}
