/* Auth pages (login + register) — NRVid redesign 2026-06-16 */
.auth_page .login-form,
.auth-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
  padding: 26px 24px;
  max-width: 420px;
  margin: 24px auto;
}
.auth-logo { display: block; height: 30px; margin: 2px auto 16px; }
.auth-title { text-align: center; font-size: 20px; font-weight: 700; color: #111; margin: 0 0 18px; }

/* Google / social button */
.auth-google { display: flex; justify-content: center; margin: 0 0 4px; }
.auth-google > div { width: 100%; }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px; border: 1px solid #dadce0; border-radius: 8px;
  background: #fff; color: #3c4043; font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer;
}
.btn-google:hover { background: #f7f8f8; }
.btn-google svg { width: 18px; height: 18px; }

/* divider */
.auth-divider { display: flex; align-items: center; text-align: center; color: #9aa0a6; font-size: 12.5px; margin: 16px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #e6e6e6; }
.auth-divider span { padding: 0 12px; }

/* forgot + submit + alt link */
.auth-forgot { text-align: right; margin: -6px 0 14px; }
.auth-forgot a { color: #04abf2; font-size: 13px; text-decoration: none; }
.auth-submit { width: 100%; background: #04abf2 !important; color: #fff !important; border: none !important;
  font-weight: 700; padding: 13px !important; border-radius: 8px !important; }
.auth-remember { margin-top: 12px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 13.5px; color: #666; }
.auth-alt a { color: #04abf2; font-weight: 700; text-decoration: none; }

/* register compact two-column grid */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.auth-grid .full { grid-column: 1 / -1; }
.auth-grid .pp_mat_input { margin-bottom: 18px; }

/* invisible recaptcha container takes no space */
#pt-recaptcha, #pt-recaptcha-modal { width: 0; height: 0; overflow: hidden; }

/* Single card: the legacy .login-page wrapper is itself styled as a card by the
   theme (white bg + shadow + radius + padding). Neutralize it inside our redesigned
   auth contexts so .auth-card is the ONLY card — no card-within-a-card — and stop the
   full-viewport-height flex from bloating the popups. */
.auth_page .login-page {
  max-width: none; width: 100%;
  background: transparent; box-shadow: none; border-radius: 0; padding: 0;
}
.pt_auth_box .login_page { min-height: 0; margin-bottom: 0; display: block; }
.pt_auth_box .auth-card { box-shadow: none; }   /* the modal already floats on a blurred backdrop */

@media (max-width: 520px) {
  .auth-grid { grid-template-columns: 1fr; }
}
