/* add minimal error styling if not present */
.auth-error{background:#fee2e2;border:1px solid #fecaca;color:#7f1d1d;padding:10px;border-radius:8px;margin-bottom:12px}

:root{
  --bg: #f6f7fb;
  --card: #ffffff;
  --primary: #111827;
  --accent: #ff6b6b;
  --muted: #6b7280;
  --glass: rgba(255,255,255,0.6);
}
*{box-sizing:border-box}
body{font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; background:var(--bg); color:var(--primary); margin:0}
.auth-page{min-height:70vh; display:flex; align-items:center; justify-content:center; padding:40px 20px}
.auth-card{width:100%; max-width:1100px; display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:stretch}
.auth-visual{background:linear-gradient(180deg,#fef3f2, #fff); border-radius:16px; padding:48px; display:flex; flex-direction:column; justify-content:center; gap:14px}
.auth-visual h2{font-size:28px; margin:0}
.auth-visual p{color:var(--muted); margin:0; max-width:360px}
.auth-visual img{max-width:320px; margin-top:10px}
.auth-form{background:var(--card); border-radius:16px; padding:36px; box-shadow:0 6px 30px rgba(17,24,39,0.07)}
.auth-form h3{margin:0 0 14px 0}
.input-label{display:block; font-size:14px; color:var(--muted); margin-bottom:12px}
.input-label input{display:block; width:100%; padding:12px 14px; margin-top:8px; border-radius:10px; border:1px solid #e7e9ef; background:#fff; font-size:15px}
.password-row{display:flex; gap:8px; align-items:center}
.pw-toggle{background:transparent; border:0; cursor:pointer; padding:8px; border-radius:8px}
.row.between{display:flex; justify-content:space-between; align-items:center}
.checkbox input{margin-right:8px}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; width:100%; padding:12px 14px; border-radius:10px; border:1px solid transparent; cursor:pointer; font-weight:600}
.btn.primary{background:var(--primary); color:#fff}
.btn.social{background:#fff; border:1px solid #e7e9ef; color:var(--primary)}
.btn.google i{color:#db4437}
.divider{display:flex; align-items:center; gap:12px; margin:16px 0}
.divider::before,.divider::after{content:''; flex:1; height:1px; background:#eee}
.divider span{color:var(--muted); font-size:13px}
.muted{color:var(--muted); font-size:13px}
.center{text-align:center}
.pw-strength{font-size:13px; color:var(--muted); margin-bottom:8px}
#pwScore{color:var(--accent); margin-left:6px}
.btnAuth{display:flex; justify-content:center}

@media (max-width:900px){
  .auth-card{grid-template-columns:1fr; padding:0}
  .auth-visual{order:2}
  .auth-form{order:1}
  .btnAuth{justify-content:center; width:100%}
  .btnAuth .btn{width:100%; max-width:300px}
}
