:root {
  --auth-navy: #062b5c;
  --auth-navy-deep: #041b3d;
  --auth-gold: #ffd147;
  --auth-gold-soft: #fff4c7;
  --auth-ink: #162033;
  --auth-muted: #5c6780;
  --auth-border: rgba(6, 43, 92, 0.14);
  --auth-shadow: 0 28px 80px rgba(6, 43, 92, 0.12);
  --auth-card-shadow: 0 18px 46px rgba(6, 43, 92, 0.08);
}

.auth-shell {
  position: relative;
  overflow: hidden;
  padding: 0 0 110px;
  background: linear-gradient(180deg, #f6f9fe 0%, #ffffff 30%, #f8faff 100%);
}

.auth-shell::before,
.auth-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.auth-shell::before {
  top: 320px;
  left: -120px;
  width: 280px;
  height: 280px;
  background: rgba(255, 209, 71, 0.18);
  filter: blur(8px);
}

.auth-shell::after {
  right: -110px;
  bottom: 40px;
  width: 260px;
  height: 260px;
  background: rgba(6, 43, 92, 0.06);
}

.auth-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: #fff;
}

.auth-hero-media,
.auth-hero-media picture,
.auth-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.auth-hero-media img {
  object-fit: cover;
  display: block;
}

.auth-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 19, 41, 0.16) 0%, rgba(8, 43, 93, 0.68) 42%, rgba(8, 43, 93, 0.9) 100%),
    radial-gradient(circle at top right, rgba(255, 201, 64, 0.26), transparent 30%);
}

.auth-hero-inner {
  position: relative;
  z-index: 1;
  padding: 152px 0 116px;
}

.auth-hero-copy-wrap {
  max-width: 40rem;
}

.auth-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.auth-hero-title {
  margin: 0.55rem 0 0;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(2.4rem, 4.3vw, 3.6rem);
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.auth-hero-copy {
  max-width: 32rem;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.58;
}

.auth-page {
  position: relative;
  z-index: 1;
  margin-top: -68px;
}

.auth-card {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--auth-shadow);
  padding: 38px;
  backdrop-filter: blur(10px);
}

.auth-intro {
  margin-bottom: 28px;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--auth-gold-soft);
  color: var(--auth-navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.05;
  color: var(--auth-ink);
}

.auth-copy,
.auth-panel-copy,
.auth-section-copy,
.auth-unavailable {
  margin: 0;
  color: var(--auth-muted);
  line-height: 1.7;
}

.auth-alert {
  margin-bottom: 22px;
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 500;
}

.auth-alert-info {
  background: rgba(255, 209, 71, 0.2);
  color: var(--auth-navy);
}

.auth-card .validation-summary-valid {
  display: none;
}

.auth-validation {
  margin-bottom: 24px;
  border-radius: 18px;
  border: 1px solid rgba(220, 53, 69, 0.18);
  background: rgba(220, 53, 69, 0.08);
  padding: 14px 18px;
}

.auth-validation ul {
  margin: 0;
  padding-left: 20px;
}

.auth-primary-panel,
.auth-secondary-panel {
  border-radius: 24px;
}

.auth-primary-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(6, 43, 92, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 209, 71, 0.24), rgba(255, 255, 255, 0.94) 58%),
    #fff;
  box-shadow: var(--auth-card-shadow);
}

.auth-panel-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--auth-navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-panel-title,
.auth-section-title {
  margin: 0 0 10px;
  color: var(--auth-ink);
}

.auth-google-form {
  margin-top: 22px;
}

.google-auth-button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  border: 1px solid var(--auth-border);
  border-radius: 20px;
  padding: 16px 18px;
  background: #fff;
  color: var(--auth-ink);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 10px 24px rgba(6, 43, 92, 0.08);
}

.google-auth-button:hover,
.google-auth-button:focus {
  transform: translateY(-2px);
  border-color: rgba(6, 43, 92, 0.24);
  box-shadow: 0 16px 30px rgba(6, 43, 92, 0.12);
  color: var(--auth-ink);
}

.google-auth-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff;
  flex: 0 0 auto;
}

.google-auth-logo svg {
  width: 24px;
  height: 24px;
}

.google-auth-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.google-auth-label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.google-auth-caption {
  color: var(--auth-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.auth-benefits span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--auth-navy);
  font-size: 0.86rem;
  font-weight: 600;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0;
  color: var(--auth-muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(6, 43, 92, 0.12);
}

.auth-secondary-panel {
  padding: 0;
}

.auth-secondary-header {
  margin-bottom: 20px;
}

.auth-form .form-group,
.auth-form .mb-3 {
  margin-bottom: 20px;
}

.auth-form .form-label,
.auth-form .form-group > label {
  margin-bottom: 8px;
  color: var(--auth-ink);
  font-weight: 600;
}

.auth-form .form-control {
  min-height: 50px;
  border: 1px solid rgba(6, 43, 92, 0.16);
  border-radius: 14px;
  padding: 0.72rem 0.95rem;
  background: #fff;
  color: var(--auth-ink);
  box-shadow: none;
  line-height: 1.35;
}

.auth-form .form-control:focus {
  border-color: rgba(6, 43, 92, 0.42);
  box-shadow: 0 0 0 0.22rem rgba(6, 43, 92, 0.08);
}

.auth-form textarea.form-control {
  min-height: 108px;
}

.auth-inline-link {
  margin-top: 10px;
}

.auth-inline-link a,
.auth-switch-link {
  color: var(--auth-navy);
  font-weight: 600;
}

.auth-check {
  margin-bottom: 20px;
  color: var(--auth-ink);
}

.auth-check .form-check-input {
  margin-top: 0.3rem;
}

.auth-secondary-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.auth-submit {
  min-width: 180px;
  border-radius: 16px;
}

.auth-unavailable {
  padding: 18px 20px;
  border: 1px solid rgba(6, 43, 92, 0.08);
  border-radius: 20px;
  background: rgba(6, 43, 92, 0.04);
}

.auth-form .field-validation-error {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.92rem;
}

.auth-register-shell .auth-card,
.auth-login-shell .auth-card {
  padding: 34px;
}

.auth-register-shell .auth-eyebrow,
.auth-login-shell .auth-eyebrow {
  margin-bottom: 14px;
  padding: 6px 12px;
  font-size: 0.72rem;
}

.auth-register-shell .auth-title,
.auth-login-shell .auth-title {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
}

.auth-register-shell .auth-copy,
.auth-register-shell .auth-panel-copy,
.auth-register-shell .auth-section-copy,
.auth-register-shell .auth-unavailable,
.auth-login-shell .auth-copy,
.auth-login-shell .auth-panel-copy,
.auth-login-shell .auth-section-copy,
.auth-login-shell .auth-unavailable {
  font-size: 0.96rem;
  line-height: 1.62;
}

.auth-register-shell .auth-primary-panel,
.auth-login-shell .auth-primary-panel {
  padding: 24px;
}

.auth-register-shell .auth-panel-tag,
.auth-login-shell .auth-panel-tag {
  margin-bottom: 14px;
  padding: 6px 11px;
  font-size: 0.69rem;
}

.auth-register-shell .auth-panel-title,
.auth-register-shell .auth-section-title,
.auth-login-shell .auth-panel-title,
.auth-login-shell .auth-section-title {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.auth-register-shell .auth-divider,
.auth-login-shell .auth-divider {
  margin: 24px 0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.auth-register-shell .google-auth-button,
.auth-login-shell .google-auth-button {
  padding: 14px 16px;
  border-radius: 18px;
}

.auth-register-shell .google-auth-label,
.auth-login-shell .google-auth-label {
  font-size: 0.92rem;
}

.auth-register-shell .google-auth-caption,
.auth-login-shell .google-auth-caption {
  font-size: 0.82rem;
}

.auth-register-shell .auth-form .form-label,
.auth-register-shell .auth-form .form-group > label,
.auth-login-shell .auth-form .form-label,
.auth-login-shell .auth-form .form-group > label {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.auth-register-shell .auth-form .form-control,
.auth-login-shell .auth-form .form-control {
  min-height: 54px;
  padding: 0.8rem 0.95rem;
  font-size: 0.94rem;
}

.auth-register-shell .auth-submit,
.auth-register-shell .auth-switch-link,
.auth-register-shell .auth-form .field-validation-error,
.auth-login-shell .auth-submit,
.auth-login-shell .auth-switch-link,
.auth-login-shell .auth-form .field-validation-error {
  font-size: 0.9rem;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .auth-shell {
    padding-bottom: 92px;
  }

  .auth-shell .container {
    max-width: 760px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .auth-hero {
    min-height: 430px;
  }

  .auth-hero-inner {
    padding: 176px 0 112px;
  }

  .auth-hero-copy-wrap {
    max-width: 38rem;
  }

  .auth-hero-title {
    max-width: 10.4ch;
    font-size: clamp(3rem, 6.6vw, 4rem);
  }

  .auth-hero-copy {
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .auth-page {
    margin-top: -56px;
  }

  .auth-card {
    max-width: 760px;
    margin-inline: auto;
    padding: 30px;
    border-radius: 28px;
  }
}

@media (max-width: 767.98px) {
  .auth-shell {
    padding: 0 0 70px;
  }

  .auth-hero {
    min-height: 316px;
  }

  .auth-hero-inner {
    padding: 124px 0 76px;
  }

  .auth-hero-title {
    margin-left: 14px;
    max-width: 9.4ch;
    font-size: 1.86rem;
    line-height: 1.02;
  }

  .auth-hero-copy {
    margin-left: 14px;
    max-width: 18rem;
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .auth-hero-eyebrow {
    margin-left: 14px;
  }

  .auth-page {
    margin-top: -32px;
  }

  .auth-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .auth-primary-panel {
    padding: 20px;
  }

  .auth-divider {
    gap: 10px;
    margin: 22px 0;
    font-size: 0.8rem;
  }

  .google-auth-button {
    padding: 14px 16px;
    gap: 12px;
  }

  .google-auth-logo {
    width: 42px;
    height: 42px;
  }

  .auth-secondary-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-submit,
  .auth-switch-link {
    width: 100%;
    text-align: center;
  }

  .site-content.site-content-auth-hero > .site-header.default-header-style.public-hero-header .public-mobile-nav-trigger {
    min-width: 0;
    min-height: 0;
    padding: 0;
    gap: 7px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    color: #fff;
  }

  .site-content.site-content-auth-hero > .site-header.default-header-style.public-hero-header .public-mobile-nav-trigger:hover,
  .site-content.site-content-auth-hero > .site-header.default-header-style.public-hero-header .public-mobile-nav-trigger:focus {
    background: transparent;
    box-shadow: none;
    color: #fff;
  }

  .site-content.site-content-auth-hero > .site-header.default-header-style.public-hero-header .public-mobile-nav-trigger .public-mobile-nav-trigger-text {
    position: relative;
    top: 1px;
  }

  .auth-register-shell .auth-card,
  .auth-login-shell .auth-card {
    padding: 22px 18px;
  }

  .auth-register-shell .auth-primary-panel,
  .auth-login-shell .auth-primary-panel {
    padding: 18px;
  }

  .auth-register-shell .auth-title,
  .auth-login-shell .auth-title {
    font-size: 1.58rem;
  }

  .auth-register-shell .auth-copy,
  .auth-register-shell .auth-panel-copy,
  .auth-register-shell .auth-section-copy,
  .auth-register-shell .auth-unavailable,
  .auth-login-shell .auth-copy,
  .auth-login-shell .auth-panel-copy,
  .auth-login-shell .auth-section-copy,
  .auth-login-shell .auth-unavailable {
    font-size: 0.88rem;
    line-height: 1.56;
  }

  .auth-register-shell .auth-panel-title,
  .auth-register-shell .auth-section-title,
  .auth-login-shell .auth-panel-title,
  .auth-login-shell .auth-section-title {
    font-size: 0.96rem;
  }

  .auth-register-shell .auth-form .form-label,
  .auth-register-shell .auth-form .form-group > label,
  .auth-register-shell .auth-submit,
  .auth-register-shell .auth-switch-link,
  .auth-login-shell .auth-form .form-label,
  .auth-login-shell .auth-form .form-group > label,
  .auth-login-shell .auth-submit,
  .auth-login-shell .auth-switch-link {
    font-size: 0.88rem;
  }

  .auth-register-shell .auth-form .form-control,
  .auth-register-shell .google-auth-label,
  .auth-login-shell .auth-form .form-control,
  .auth-login-shell .google-auth-label {
    font-size: 0.9rem;
  }

  .auth-register-shell .auth-form .form-control,
  .auth-login-shell .auth-form .form-control {
    min-height: 46px;
    padding: 0.64rem 0.88rem;
    border-radius: 13px;
  }

  .auth-register-shell .google-auth-caption,
  .auth-register-shell .auth-divider,
  .auth-login-shell .google-auth-caption,
  .auth-login-shell .auth-divider {
    font-size: 0.78rem;
  }
}
