/* User: Ceasar | Story: #0 | Date: 2026-06-12 | Change: Redesign non-home unauthenticated auth pages without changing auth routes or data contracts. */
body.page--auth-shell {
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 170, 46, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, #f1f5fa 100%);
}

/* User: Ceasar | Story: #0 | Date: 2026-06-13 | Change: Keep redesigned unauthenticated auth pages free of the legacy top navigation. */
.page--auth-shell .navbar,
.page--auth-shell .navbar__mobile-nav {
  display: none !important;
}

/* User: Ceasar | Story: #0 | Date: 2026-06-14 | Change: Keep the global USABarPrep Coach dock from covering login and registration controls. */
.page--auth-shell .sales-chat {
  display: none !important;
}

.page-main--auth-shell {
  max-width: 1200px;
  padding-top: 32px;
  padding-bottom: 56px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.auth-shell__brand-panel,
.auth-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-elevated);
}

.auth-shell__brand-panel {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 660px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(245, 169, 30, 0.16), transparent 34%),
    linear-gradient(180deg, #061f4d 0%, #02142f 100%);
  color: #fff;
}

.auth-shell__brand-panel::after {
  content: '';
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(245, 169, 30, 0.42);
  border-radius: 50%;
  background:
    conic-gradient(from 10deg, rgba(245, 169, 30, 0.72), rgba(245, 169, 30, 0.14), rgba(255, 255, 255, 0.08), rgba(245, 169, 30, 0.72));
  opacity: 0.42;
  pointer-events: none;
}

.auth-shell__brand {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.auth-shell__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245, 169, 30, 0.62);
  border-radius: 12px;
  color: #f5c35c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.auth-shell__brand strong,
.auth-shell__brand small {
  display: block;
  line-height: 1.05;
}

.auth-shell__brand strong {
  font-size: 18px;
  text-transform: uppercase;
}

.auth-shell__brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: right;
}

.auth-shell__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 380px;
}

.auth-shell__kicker {
  color: #d79b22;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-shell__brand-panel .auth-shell__kicker {
  color: #f5c35c;
}

.auth-shell__copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.auth-shell__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.65;
}

.auth-shell__metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.auth-shell__metrics span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-shell__metrics strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.auth-shell__metrics small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
}

.auth-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.96);
}

.auth-card h1 {
  margin: 0;
  color: #07183d;
  font-family: var(--font-body);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.auth-card > p,
.auth-otp-card > p,
.auth-alert > p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-inline-link {
  color: var(--accent);
  text-decoration: none;
}

.auth-inline-link:hover,
.auth-inline-link:focus-visible {
  text-decoration: underline;
}

input.auth-input {
  width: 100%;
  min-height: 50px;
  padding: 11px 12px;
  border-color: #dbe4ef;
  background: #f8fbff;
  font-size: 15px;
}

input.auth-input:focus {
  border-color: rgba(11, 108, 122, 0.42);
  box-shadow: 0 0 0 3px rgba(11, 108, 122, 0.12);
  outline: 0;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.auth-actions .btn,
.auth-actions form {
  min-width: 148px;
}

.auth-actions form .btn {
  width: 100%;
}

.auth-alert,
.auth-otp-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(248, 113, 113, 0.22);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.08), rgba(255, 255, 255, 0.96));
}

.auth-otp-card {
  margin-top: 2px;
  border-color: #dbe4ef;
  background: #f8fbff;
}

.auth-alert h2,
.auth-otp-card h2 {
  margin: 0;
  color: #07183d;
  font-size: 24px;
}

.auth-alert .question-meta,
.auth-alert__session .question-meta {
  margin: 0;
}

.auth-alert__session {
  display: grid;
  gap: 8px;
}

.auth-alert__session p {
  margin: 0;
  color: var(--text-muted);
}

.auth-alert__session div p:last-child {
  color: var(--text);
  font-weight: 700;
}

.auth-card .auth-oauth {
  margin-top: 2px;
}

@media (max-width: 900px) {
  .page-main--auth-shell {
    padding-top: 18px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-shell__brand-panel {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .page-main--auth-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .auth-shell {
    gap: 14px;
  }

  .auth-shell__brand-panel,
  .auth-card {
    border-radius: 10px;
  }

  .auth-shell__brand-panel {
    min-height: 0;
    padding: 20px;
    gap: 28px;
  }

  .auth-shell__copy h2 {
    font-size: 32px;
  }

  .auth-shell__copy p {
    font-size: 14px;
  }

  .auth-shell__metrics {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 22px;
  }

  .auth-actions,
  .auth-actions .btn,
  .auth-actions form {
    width: 100%;
  }
}
