.customer-page {
  background: radial-gradient(circle at 50% -15%, #15344a 0, transparent 34%), #080b10;
}

.customer-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 70px;
}

.customer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.customer-nav a {
  color: #a8bdcf;
  text-decoration: none;
}

.brand-link {
  color: #f4f9ff !important;
  font-weight: 850;
  letter-spacing: .12em;
}

.brand-link span {
  color: #54e8ff;
  font-size: .65em;
}

.customer-auth-card {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #263747;
  border-radius: 20px;
  background: linear-gradient(145deg, #111a25, #0b1017);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

.customer-intro h1 {
  margin: 8px 0;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 24px 0 4px;
  padding: 4px;
  border-radius: 12px;
  background: #080d13;
}

.auth-tabs button {
  padding: 10px;
  border-radius: 9px;
  background: transparent;
  color: #758da2;
}

.auth-tabs button.active {
  background: #172536;
  color: white;
}

.auth-help-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.auth-help-actions button {
  padding: 3px 0;
  background: transparent;
  color: #8fb4ca;
  font-size: 11px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-help-view {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #263747;
}

.account-help-view h2 {
  margin: 7px 0 8px;
  font-size: 21px;
}

.account-help-view h2:focus {
  outline: none;
}

.help-copy {
  margin-bottom: 4px;
  font-size: 12px;
}

.account-help-view form > button {
  margin-top: 20px;
}

.security-copy {
  margin-top: 10px;
  color: #7f95a8;
  font-size: 10px;
  line-height: 1.5;
}

.help-back {
  margin-top: 18px;
}

.customer-auth-card form > button {
  margin-top: 20px;
}

.consent-row {
  flex-direction: row !important;
  align-items: flex-start;
}

.consent-row input {
  width: auto;
  margin-top: 2px;
}

.consent-row a,
.account-support a {
  color: #8edff2;
}

.customer-test-note {
  margin-top: 18px;
  padding: 11px 12px;
  border: 1px solid #334455;
  border-radius: 10px;
  background: #0c141d;
  color: #8fa5b8;
  font-size: 11px;
  line-height: 1.5;
}

.customer-test-note strong {
  color: #c2d8e8;
}

.legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  font-size: 10px;
}

.legal-links a {
  color: #8da9bd;
}

.customer-notice {
  max-width: 720px;
  margin: 0 auto 18px;
  padding: 13px 15px;
  border: 1px solid #31556b;
  border-radius: 11px;
  background: #10212c;
  color: #b9d8e8;
}

.customer-dashboard header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.account-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  padding: 22px;
  border: 1px solid #253443;
  border-radius: 16px;
  background: linear-gradient(145deg, #111923, #0b1017);
}

.account-card.featured {
  border-color: #2d7187;
  background: linear-gradient(145deg, #12303e, #0c151d);
}

.account-card span {
  color: #65dff4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.account-card strong {
  margin: 14px 0 8px;
  font-size: 20px;
}

.account-card p {
  margin-bottom: 22px;
  font-size: 11px;
}

.account-card a,
.account-card button {
  margin-top: auto;
  text-decoration: none;
}

.account-card button:disabled {
  max-width: 100%;
  color: #8b9baa;
}

.customer-dashboard header h1 {
  margin: 8px 0;
}

.customer-dashboard header p {
  font-size: 12px;
}

.account-support {
  margin-top: 22px;
  text-align: center;
  font-size: 11px;
}

.customer-page :is(a, button, input):focus-visible {
  outline: 3px solid #8beeff;
  outline-offset: 3px;
}

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

  .customer-nav {
    margin-bottom: 30px;
  }

  .customer-auth-card {
    padding: 22px;
  }

  .customer-dashboard header {
    gap: 18px;
  }

  .auth-help-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

