/* Quinbis Account authentication — action-first visual refinement, 3 Nov 2026.
   Scoped to .auth-page only. Does not change auth tokens, form actions or recovery rules. */
.auth-page .foundation-auth-story { display:none !important; }
.auth-page .foundation-auth-main {
  min-height:calc(100svh - 72px) !important;
  padding:clamp(22px,5vh,52px) 18px 44px !important;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  background:#F9FBF8 !important;
}
.auth-page .foundation-auth-shell,
.auth-page .foundation-auth-shell:not(:has(.foundation-auth-story)),
.auth-page .foundation-auth-simple {
  position:relative;
  width:min(520px,100%) !important;
  max-width:520px !important;
  min-width:0;
  display:block;
  border:1px solid #DBE6DC !important;
  border-radius:21px !important;
  background:#FFFFFF !important;
  box-shadow:0 12px 38px rgba(1,61,55,.045) !important;
  overflow:visible;
}
.auth-page .foundation-auth-shell::before,
.auth-page .foundation-auth-shell:not(:has(.foundation-auth-story))::before {
  content:"";
  position:absolute;
  left:32px !important; top:0 !important;
  width:38px !important; height:3px !important;
  border-radius:0 0 3px 3px !important;
  background:#77D650 !important;
  display:block !important;
  z-index:1;
}
.auth-page .foundation-auth-panel,
.auth-page .foundation-auth-simple {
  display:block;
  min-height:0;
  padding:39px 38px 38px !important;
}
.auth-page .foundation-auth-panel-inner {
  max-width:none;
  margin:0;
}
.auth-page .foundation-auth-panel-inner>.foundation-kicker,
.auth-page .foundation-auth-simple>.foundation-kicker { display:none !important; }
.auth-page .foundation-auth-panel h2,
.auth-page .foundation-auth-simple h1 {
  margin:0 !important;
  font-weight:700 !important;
  font-size:clamp(28px,4vw,34px) !important;
  line-height:1.14 !important;
  letter-spacing:-.037em !important;
  text-align:left;
  text-wrap:balance;
}
.auth-page .foundation-auth-copy,
.auth-page .qba-email-sent-message {
  margin:14px 0 0 !important;
  font-size:14px;
  line-height:1.62;
  color:#45534A;
  text-align:left;
}
.auth-page .qba-email-sent-message strong {
  font-weight:750;
  color:#013D37;
  overflow-wrap:anywhere;
}
.auth-page .foundation-auth-panel-inner>.foundation-form,
.auth-page .foundation-auth-simple>.foundation-form {
  margin-top:22px;
}
.auth-page .foundation-form { gap:15px; }
.auth-page .foundation-field { gap:7px; }
.auth-page .foundation-input { height:49px; min-height:49px; border-radius:12px; }
.auth-page .foundation-button { min-height:48px; border-radius:12px; }
.auth-page .foundation-form-grid { gap:13px; }
.auth-page .foundation-form-links { margin-top:17px; gap:16px; }
.auth-page .foundation-auth-switch,
.auth-page .foundation-auth-recovery,
.auth-page .qba-resend-action {
  margin:19px 0 0 !important;
  text-align:left !important;
  color:#55635A;
  font-size:13px;
  line-height:1.6;
}
.auth-page .foundation-auth-switch a,
.auth-page .foundation-auth-recovery a,
.auth-page .qba-resend-action a,
.auth-page .foundation-form-links a,
.auth-page .qba-terms-inline a,
.auth-page .qba-secondary-note a {
  color:#013D37 !important;
  font-weight:750;
  text-underline-offset:3px;
}
.auth-page .foundation-auth-switch a:hover,
.auth-page .foundation-auth-recovery a:hover,
.auth-page .qba-resend-action a:hover,
.auth-page .foundation-form-links a:hover,
.auth-page .qba-terms-inline a:hover { text-decoration:underline !important; }
.auth-page .qba-terms-inline,
.auth-page .qba-secondary-note {
  margin:2px 0 0;
  font-size:11.5px;
  line-height:1.55;
  color:#617067;
}
.auth-page .qba-verification-progress { margin:12px 0 0; font-size:12px; line-height:1.5; color:#506057; }
.auth-page .qba-verification-progress[hidden] { display:none !important; }
.auth-page .foundation-auth-ready-a7 { display:none !important; }
.auth-page .foundation-alert { border-radius:12px; padding:12px 14px; line-height:1.55; }
.auth-page .foundation-auth-divider { margin:19px 0 !important; }
.auth-page .foundation-security-note { margin-top:15px; padding-top:0; border-top:0; }
.auth-page .foundation-back-link { font-weight:650; }
.auth-page .foundation-topbar-inner { min-height:67px; }
.auth-page .foundation-topbar { border-color:#E2E9E3; }
.auth-page .foundation-button.vr7-forward-action>svg { flex-shrink:0; }
.auth-page .foundation-auth-simple .foundation-button { margin-top:0; }
.auth-page .foundation-auth-panel a:focus-visible,
.auth-page .foundation-auth-simple a:focus-visible,
.auth-page .foundation-auth-panel button:focus-visible,
.auth-page .foundation-auth-simple button:focus-visible {
  outline:3px solid rgba(119,214,80,.48) !important;
  outline-offset:3px;
}
/* Transitional screens are shorter; do not force a bottom marketing area into view. */
.auth-page.auth-email-sent-p1 .foundation-auth-panel { padding:41px 38px 37px !important; }
.auth-page.auth-email-sent-p1 .foundation-auth-shell { width:min(520px,100%) !important; }
.auth-page.auth-email-sent-p1 .foundation-auth-panel h2,
.auth-page.auth-verify-page-p1 .foundation-auth-panel h2 { margin:0 !important; font-size:clamp(28px,4vw,34px) !important; }
.auth-page.auth-email-sent-p1 .qba-email-sent-message { margin-top:17px !important; }
.auth-page.auth-email-sent-p1 .foundation-auth-switch { margin-top:23px !important; }
/* Preserve Quinbis dark-mode comfort and the Kinetic accent without black cards. */
html[data-theme="dark"] .auth-page .foundation-auth-main { background:#111915 !important; }
html[data-theme="dark"] .auth-page .foundation-auth-shell,
html[data-theme="dark"] .auth-page .foundation-auth-simple,
html[data-theme="dark"] .auth-page .foundation-auth-panel {
  background:#18231E !important;
  border-color:#304039 !important;
  box-shadow:none !important;
}
html[data-theme="dark"] .auth-page .foundation-auth-copy,
html[data-theme="dark"] .auth-page .qba-email-sent-message,
html[data-theme="dark"] .auth-page .qba-resend-action,
html[data-theme="dark"] .auth-page .foundation-auth-switch,
html[data-theme="dark"] .auth-page .qba-terms-inline,
html[data-theme="dark"] .auth-page .qba-secondary-note,
html[data-theme="dark"] .auth-page .qba-verification-progress { color:#C2D0C8 !important; }
html[data-theme="dark"] .auth-page .qba-email-sent-message strong,
html[data-theme="dark"] .auth-page .foundation-auth-switch a,
html[data-theme="dark"] .auth-page .qba-resend-action a,
html[data-theme="dark"] .auth-page .qba-terms-inline a { color:#DFF5D1 !important; }
@media(max-width:680px) {
  .auth-page .foundation-auth-main { min-height:calc(100svh - 65px) !important; padding:20px 14px 38px !important; }
  .auth-page .foundation-auth-panel,
  .auth-page .foundation-auth-simple,
  .auth-page.auth-email-sent-p1 .foundation-auth-panel { padding:31px 23px 31px !important; }
  .auth-page .foundation-auth-shell,
  .auth-page .foundation-auth-simple { border-radius:19px !important; }
  .auth-page .foundation-auth-shell::before,
  .auth-page .foundation-auth-shell:not(:has(.foundation-auth-story))::before { left:23px !important; }
  .auth-page .foundation-auth-panel h2,
  .auth-page .foundation-auth-simple h1,
  .auth-page.auth-email-sent-p1 .foundation-auth-panel h2,
  .auth-page.auth-verify-page-p1 .foundation-auth-panel h2 { font-size:clamp(29px,8vw,34px) !important; }
  .auth-page .foundation-form-grid { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  .auth-page .foundation-button { transition:none !important; }
}
