/* ============================================================
   Auth pages (login / register) — page-specific styles.
   Links after assets/theme.css.
   ============================================================ */

body{min-height:100vh; padding:36px 0 40px;}

/* BRAND */
.brand{text-align:center;}
.brand-logo{
  width:64px; height:64px; border-radius:18px; margin:0 auto;
  background:linear-gradient(160deg,var(--blue-br),var(--blue));
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(20,123,255,0.4), 0 0 0 1px var(--gold-line);
  position:relative; overflow:hidden;
}
.brand-logo svg{width:32px; height:32px;}
.logo-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:18px;}
.brand-name{font-size:19px; font-weight:900; letter-spacing:0.5px; margin-top:14px;}
.brand-sub{font-size:11px; font-weight:800; letter-spacing:3px; color:var(--blue-br); margin-top:2px;}
.brand-tag{font-size:12px; color:var(--muted); font-weight:600; margin-top:10px; letter-spacing:0.3px;}

/* CARD */
.auth-card{
  margin-top:26px; background:linear-gradient(155deg,var(--card),var(--bg2));
  border:1px solid var(--line); border-radius:20px; padding:26px 22px;
  box-shadow:0 14px 34px rgba(0,0,0,0.45);
}
.auth-title{font-size:23px; font-weight:900;}
.auth-sub{font-size:12px; color:var(--muted); font-weight:600; margin-top:5px;}

.row-between{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:16px; flex-wrap:wrap;}
.stay-signed{font-size:11px; color:var(--muted); font-weight:600;}
.link-gold{font-size:11.5px; font-weight:800; color:var(--blue-br);}

.submit-btn{margin-top:20px;}

/* GOOGLE SIGN-IN */
.auth-divider{display:flex; align-items:center; gap:12px; margin-top:20px; margin-bottom:16px; color:var(--muted); font-size:10.5px; font-weight:800; letter-spacing:0.5px; text-transform:uppercase;}
.auth-divider::before,.auth-divider::after{content:''; flex:1; height:1px; background:var(--line);}
.btn-google{display:flex; align-items:center; justify-content:center; gap:10px; background:#fff; color:#1f1f1f; border:1px solid var(--line); box-shadow:0 6px 18px rgba(0,0,0,0.25);}
.btn-google:disabled{opacity:0.6;}
.btn-google svg{flex-shrink:0;}

.pw-strength{margin-top:9px;}
.pw-strength-track{height:4px; border-radius:4px; background:var(--line); overflow:hidden;}
.pw-strength-fill{height:100%; width:0; border-radius:4px; background:var(--line); transition:width .2s, background .2s;}
.pw-strength .field-hint{margin-top:6px;}

/* SWITCH CARD */
.switch-card{
  margin-top:16px; text-align:center; background:linear-gradient(155deg,var(--card),var(--bg2));
  border:1px solid var(--line); border-radius:18px; padding:20px 20px 22px;
}
.switch-title{font-size:12px; font-weight:900; letter-spacing:1px; color:var(--gold);}
.switch-sub{font-size:12px; color:var(--muted); font-weight:600; margin-top:5px; line-height:1.5;}
.switch-btn{margin-top:14px;}

/* FOOTER */
.auth-footer{text-align:center; margin-top:22px;}
.footer-help{font-size:11.5px; color:var(--muted); font-weight:600;}
.footer-help a{color:var(--blue-br); font-weight:800;}
.footer-links{display:flex; align-items:center; justify-content:center; gap:14px; margin-top:12px; flex-wrap:wrap;}
.footer-links a{font-size:10.5px; color:var(--muted); font-weight:600;}

/* OTP INPUT (verify_account.php) ----------------------------------
   flex:1 boxes (not a fixed px width) so six digits always fit the
   card on a 360px screen without overflow — the tradeoff is boxes
   land a little under the usual 44px touch target, which is the
   accepted norm for OTP UIs everywhere: only the first box needs a
   precise tap, every box after that is reached by the auto-advance
   JS as the person types, not by tapping each one individually. */
.otp-boxes{display:flex; gap:8px; margin-top:18px;}
.otp-box{
  flex:1; min-width:0; aspect-ratio:1/1;
  text-align:center; font-size:19px; font-weight:800; font-variant-numeric:tabular-nums;
  background:rgba(255,255,255,0.03); border:1.5px solid var(--line); border-radius:12px;
  color:var(--white); outline:none;
  transition:border-color .15s, box-shadow .15s;
}
.otp-box:focus{border-color:var(--blue-br); box-shadow:0 0 0 3px rgba(53,168,255,0.15);}
.otp-box.err{border-color:var(--red); box-shadow:0 0 0 3px rgba(255,77,94,0.14);}
.otp-box::-webkit-outer-spin-button,.otp-box::-webkit-inner-spin-button{-webkit-appearance:none; margin:0;}

.resend-row{margin-top:12px;}
.masked-email{color:var(--white); font-weight:800;}

/* Secondary/lighter info card (e.g. reset_password.php's "Signing out
   everywhere" notice) — same family as .auth-card but flatter, no heavy
   shadow, so it doesn't compete with the primary card above it. */
.info-note{margin-top:16px; background:rgba(255,255,255,0.03); border:1px solid var(--line); border-radius:16px; padding:16px 18px;}
.info-note strong{display:block; font-size:12.5px; font-weight:800; margin-bottom:4px;}
.info-note p{font-size:11.5px; color:var(--muted); font-weight:600; line-height:1.55;}
