/* ============================================================
   RadioGrub — auth.css
   /login inside the SPA. Carries the look of the old standalone
   login page so nothing shifts visually.
   ============================================================ */

.authBox{ max-width:430px; margin:26px auto 100px; }
.authCard{
  background:var(--surface); border:1px solid var(--line2); border-radius:22px;
  box-shadow:0 20px 50px rgba(0,0,0,.92); padding:28px;
}
.authCard h1{ margin:0 0 4px; font-size:23px; font-weight:980; letter-spacing:-.4px; text-align:center; }
.authCard .sub{ margin:0 0 20px; color:var(--muted); font-weight:650; font-size:14px; text-align:center; line-height:1.5; }

.authCard .tabs{ display:flex; gap:6px; background:var(--surface2); border-radius:12px; padding:5px; margin-bottom:20px; }
.authCard .tab{
  flex:1; text-align:center; padding:9px; border-radius:9px; border:none; background:none;
  font-family:inherit; font-weight:900; font-size:14px; cursor:pointer; color:var(--muted); transition:.15s;
}
.authCard .tab.on{ background:var(--surface2); color:var(--text); box-shadow:0 2px 6px rgba(0,0,0,.92); }

.authCard .field{ margin-bottom:14px; }
.authCard label{ display:block; font-size:13px; font-weight:900; margin-bottom:6px; }
.authCard input{
  width:100%; border:1.5px solid var(--line); border-radius:12px; padding:12px 14px;
  font-size:15px; font-family:inherit; background:var(--surface2); outline:none; transition:.15s;
}
.authCard input:focus{ border-color:var(--accentLine); box-shadow:0 0 0 4px var(--accentSoft); background:var(--surface2); }

.authRow{ display:flex; justify-content:flex-end; align-items:center; min-height:22px; margin-bottom:14px; font-size:13px; }
.authRow .hint{ color:var(--muted2); font-weight:750; margin-right:auto; }

.authError{
  margin:0 0 14px; padding:10px 12px; border-radius:10px;
  background:var(--accentSoft); border:1px solid var(--accentLine);
  color:var(--accent2); font-weight:800; font-size:13px;
}

.authBtn{
  width:100%; border:none; border-radius:12px; padding:13px;
  background:var(--accent); color:#fff; font-family:inherit; font-weight:950; font-size:15px; cursor:pointer;
}
.authBtn:hover{ background:var(--accent2); }
.authBtn:disabled{ opacity:.6; cursor:default; }

.authCard .divider{
  display:flex; align-items:center; gap:12px; margin:18px 0;
  color:var(--muted2); font-size:12px; font-weight:850;
}
.authCard .divider:before, .authCard .divider:after{ content:""; flex:1; height:1px; background:var(--line2); }

.authGhost{
  width:100%; display:flex; align-items:center; justify-content:center; gap:10px;
  border:1.5px solid var(--line); background:var(--surface); border-radius:12px; padding:12px;
  font-family:inherit; font-weight:900; font-size:14.5px; cursor:pointer;
}
.authGhost:hover{ border-color:var(--accentLine); background:var(--accentSoft); }
.authGhost:disabled{ opacity:.6; cursor:default; }

.authFoot{ text-align:center; margin:16px 0 0; font-size:13px; font-weight:750; color:var(--muted); }
.authFoot a{ color:var(--accentText); font-weight:900; text-decoration:none; }

/* ============================================================
   INVITE-ONLY ONBOARDING  (views/invite.js)
   The same card as sign-in, wider where the plan and the terms go.
   ============================================================ */

.invCard.wide{ max-width:640px; }
.invCard h1{ margin:10px 0 4px; }
.invHead{ margin:22px 0 8px; font-size:12px; font-weight:950; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }

.invPlan{
  display:flex; gap:18px; flex-wrap:wrap; align-items:flex-start;
  border:1px solid var(--line2); border-radius:16px; padding:14px; margin:12px 0 6px; background:var(--surface2);
}
.invPrice{ display:flex; align-items:baseline; gap:4px; }
.invPrice b{ font-size:30px; font-weight:980; letter-spacing:-1px; }
.invFeatures{ flex:1 1 260px; margin:0; padding-left:18px; font-size:13.5px; }
.invFeatures li{ margin:4px 0; }

.invTerms{ display:flex; flex-direction:column; gap:10px; }
.invTerm{
  display:flex; gap:10px; align-items:flex-start; padding:12px;
  border:1px solid var(--line2); border-radius:14px; background:var(--surface);
  font-size:13.5px; cursor:pointer;
}
.invTerm.is-required{ border-left:3px solid var(--accentHot); }
.invTerm input{ margin-top:3px; flex:0 0 auto; }
.invTerm span{ display:flex; flex-direction:column; gap:4px; }
.invBodies{ margin-top:14px; border:1px solid var(--line2); border-radius:14px; padding:12px; background:var(--surface2); }
.invBodies ul{ margin:8px 0; padding-left:18px; font-size:13.5px; }
.invBodies li{ margin:4px 0; }
