.member-hero {
  background: linear-gradient(115deg, #0f172a, #0a3d91);
  color: #fff;
  padding: 64px 0;
}
.member-hero h1 {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.member-hero p {
  max-width: 700px;
  margin: 20px 0 0;
  color: #dce9fc;
}
.member-summary,
.member-form,
#memberAccount {
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.price-block {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
}
.price-block > strong {
  font-size: 2.35rem;
  display: block;
  color: var(--brand-dark);
  line-height: 1.2;
}
.price-block > strong > span {
  font-size: 1rem;
}
.price-block > span {
  display: block;
  font-weight: 600;
  margin: 6px 0 10px;
}
.price-block p {
  font-size: 0.9rem;
  color: var(--muted);
}
.step-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--brand-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}
.agreement-terms {
  max-height: 470px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  background: #f8fafc;
}
.agreement-terms h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 22px;
}
.agreement-terms h3:first-child {
  margin-top: 0;
}
.agreement-terms p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.consents {
  display: grid;
  gap: 16px;
}
.consents label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}
.consents input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
}
[hidden] {
  display: none !important;
}
button:disabled {
  cursor: wait;
}
input,
select {
  font-size: 16px !important;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
}
.admin-table {
  font-size: 0.85rem;
}
.admin-table th {
  white-space: nowrap;
}
.admin-table td {
  min-width: 130px;
}
.admin-table button {
  margin: 0 6px 6px 0;
}
#pageStatus:empty {
  display: none;
}
#pageStatus.alert {
  border-radius: 10px;
}
footer a {
  color: #fff;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #0076ff;
  outline-offset: 3px;
}
@media (max-width: 575px) {
  .member-hero {
    padding: 36px 0;
  }
  .brand-logo {
    max-width: 180px;
    object-fit: contain;
  }
  .agreement-terms {
    padding: 15px;
    max-height: 400px;
  }
  .member-summary {
    box-shadow: none;
  }
}
@media print {
  header,
  footer,
  button,
  aside,
  #verification {
    display: none !important;
  }
  .agreement-terms {
    max-height: none;
    overflow: visible;
  }
}
