:root {
  --bg: #050505;
  --bg-alt: #111111;
  --gold: #d4af37;
  --text: #f5f5f5;
  --muted: #aaaaaa;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

button,
input,
select {
  font: inherit;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #222 0, #000 60%);
  color: var(--text);
}

/* Header */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 8vw;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo,
.dash-logo {
  position: relative;
  width: 84px;
  height: 70px;
  overflow: hidden;
  flex: 0 0 auto;
}

.logo img,
.dash-logo img {
  position: absolute;
  width: 84px;
  height: auto;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--gold);
}

.btn-login {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
}

/* Hero */

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 0 8vw;
  position: relative;
  isolation: isolate;
  background: url("assets/bannerlcs.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.55) 52%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
  position: relative;
}

.hero-content h1 {
  font-size: 3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content p {
  margin-top: 1rem;
  max-width: 500px;
  color: var(--muted);
}

.hero-content .hero-kicker {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content .hero-disciplines {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 650;
}

.hero-content .hero-tagline {
  margin-top: 0.45rem;
}

.btn-primary {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 1.8rem;
  background: var(--gold);
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.link-button:focus-visible,
.main-nav a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Sections */

.section {
  padding: 4rem 8vw;
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section:nth-of-type(even) {
  background: #050505;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section p {
  max-width: 600px;
  color: var(--muted);
}

.section a {
  color: var(--gold);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 3rem;
  align-items: center;
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 260px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
}

.contact-map a {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.9rem;
}

.coach-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 3rem;
  align-items: center;
}

.coach-section img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #111;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card h3 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.card .price {
  margin-top: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

.card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
  transform: scale(1.03);
}

.section .membership-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.membership-link:hover {
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
}

.membership-link.featured:hover {
  transform: scale(1.03) translateY(-3px);
}

.membership-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.card-cta {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-kicker {
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.schedule-heading > p {
  margin-bottom: 1.5rem;
  text-align: right;
}

.public-schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.schedule-day {
  min-width: 0;
  border-top: 2px solid var(--gold);
  background: #0b0b0b;
}

.schedule-day-name {
  padding: 0.85rem 1rem;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule-day-classes {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-session {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-session-time {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
}

.schedule-session h4 {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.schedule-session p {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  line-height: 1.4;
}

.public-schedule .schedule-empty {
  grid-column: 1 / -1;
  padding: 1.5rem;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.05);
}

.pricing-note {
  margin-top: 1.5rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--gold);
  font-size: 0.9rem;
}


/* Footer */

.site-footer {
  padding: 2rem 8vw;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* AUTH PAGES */

.auth-body {
  background: radial-gradient(circle at top, #222 0, #000 60%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.auth-container {
  background: #0a0a0a;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
  text-align: center;
}

.auth-logo {
  position: relative;
  width: 150px;
  height: 145px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.auth-logo img {
  position: absolute;
  width: 150px;
  height: auto;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.auth-title {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--gold);
}

.auth-form {
  text-align: left;
}

.auth-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-form input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #111;
  color: var(--text);
}

.auth-links {
  margin-top: 1rem;
}

.auth-links a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 0.9rem;
}

.integration-note,
.demo-banner {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.08);
  color: #e7d99e;
  font-size: 0.88rem;
  line-height: 1.45;
}

.integration-note {
  margin: -0.75rem 0 1.5rem;
}

.status-message {
  min-height: 1.4rem;
  margin-top: 1rem;
  color: #f0c36a;
  font-size: 0.9rem;
  line-height: 1.45;
}

.status-message.success {
  color: #91d7a0;
}

.legal-body {
  align-items: flex-start;
  padding: 2rem 1rem;
}

.legal-container {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 2.5rem;
  background: #0a0a0a;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
  text-align: left;
}

.legal-container h1 {
  margin: 1.5rem 0 0.25rem;
  color: var(--gold);
}

.legal-container h2 {
  margin: 2rem 0 0.65rem;
  color: var(--gold);
  font-size: 1.15rem;
}

.legal-container p,
.legal-container li {
  color: var(--text);
  line-height: 1.65;
}

.legal-container a {
  color: var(--gold);
}

.legal-updated {
  color: var(--muted) !important;
  font-size: 0.9rem;
}

.legal-back {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-status {
  min-height: 0;
  margin-top: -0.75rem;
}

.admin-status:empty {
  display: none;
}

/* DASHBOARD */

.dash-body {
  background: radial-gradient(circle at top, #222 0, #000 60%);
  color: var(--text);
  min-height: 100vh;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 8vw;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.dash-nav button {
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dash-main {
  padding: 3rem 8vw;
}

.dash-main .demo-banner {
  margin-bottom: 2rem;
}

.dash-welcome h1 {
  font-size: 2rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.dash-sub {
  color: var(--muted);
  margin-bottom: 2rem;
}

.dash-card {
  background: #0a0a0a;
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
  margin-bottom: 2rem;
}

.dash-card h2 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.dash-list li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.dashboard-class-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-class-list .admin-secondary-btn {
  flex: 0 0 auto;
}

.participants-list {
  margin: 1rem 0;
  list-style: none;
}

#participantsModal .admin-modal-content {
  width: min(680px, calc(100vw - 2rem));
}

.attendance-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 160px 1.5rem;
  align-items: center;
  column-gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.attendance-member {
  display: block;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attendance-personal-number {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.attendance-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

@media (max-width: 520px) {
  .attendance-row {
    grid-template-columns: minmax(0, 1fr) 1.5rem;
    gap: 0.5rem;
  }

  .attendance-personal-number {
    grid-column: 1;
  }

  .attendance-row input {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
.btn-secondary {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.8rem 1.8rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: 0.2s;
}

.btn-secondary:hover {
  background: var(--gold);
  color: #000;
}

.auth-actions {
  margin-top: 1rem;
  text-align: center;
}

/* SIGNUP PAGE */

.auth-sub {
  color: var(--muted);
  margin-bottom: 2rem;
}

.signup-body {
  min-height: 100vh;
  background: #070707;
}

.signup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem max(5vw, calc((100vw - 1180px) / 2));
  background: #030303;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.signup-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup-logo {
  position: relative;
  display: block;
  width: 68px;
  height: 58px;
  overflow: hidden;
}

.signup-logo img {
  position: absolute;
  width: 68px;
  height: auto;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.back-link,
.signup-login-link a {
  color: var(--gold);
  text-decoration: none;
}

.back-link {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.signup-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
}

.signup-intro {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.signup-intro h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
  letter-spacing: 0.07em;
  line-height: 1.05;
  text-transform: uppercase;
}

.signup-intro > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.signup-steps {
  display: flex;
  gap: 1.75rem;
  margin-top: 2rem;
  list-style: none;
  color: #777;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.signup-steps li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.signup-steps span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #444;
  border-radius: 50%;
}

.signup-steps .active {
  color: var(--text);
}

.signup-steps .active span {
  border-color: var(--gold);
  background: var(--gold);
  color: #050505;
}

.signup-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 2rem;
  align-items: start;
}

.signup-form-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.signup-panel,
.signup-summary {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #0e0e0e;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}

.signup-panel {
  padding: 1.75rem;
}

fieldset.signup-panel {
  min-width: 0;
}

.signup-panel legend,
.signup-panel h2,
.signup-summary h2 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup-panel legend {
  padding: 0 0.25rem;
}

.signup-panel h2,
.signup-summary h2 {
  margin-bottom: 1.35rem;
}

.plan-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.plan-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 104px;
  padding: 1rem;
  border: 1px solid #292929;
  border-radius: 12px;
  background: #121212;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.plan-option:hover,
.plan-option.selected {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

.plan-option.selected {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.12);
}

.plan-option:focus-within {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.plan-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.plan-check {
  width: 20px;
  height: 20px;
  border: 2px solid #555;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #121212;
}

.plan-option.selected .plan-check {
  border-color: var(--gold);
  background: var(--gold);
}

.plan-copy,
.plan-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.plan-copy strong {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan-copy small,
.plan-price small {
  color: var(--muted);
  line-height: 1.35;
}

.plan-price {
  align-items: flex-end;
  color: var(--gold);
  white-space: nowrap;
}

.billing-frequency {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.billing-frequency[hidden] {
  display: none;
}

.billing-frequency h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.billing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.billing-options label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid #292929;
  border-radius: 10px;
  background: #121212;
  cursor: pointer;
}

.billing-options label:has(input:checked) {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

.billing-options input {
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.billing-options span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.billing-options small,
.billing-frequency p {
  color: var(--muted);
}

.billing-frequency p {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  color: #c7c7c7;
  font-size: 0.82rem;
  font-weight: 600;
}

.field-help {
  color: #9d9d9d;
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-field input {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  border: 1px solid #303030;
  border-radius: 9px;
  background: #080808;
  color: var(--text);
}

.form-field input:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(212, 175, 55, 0.18);
}

.guardian-fields {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guardian-fields[hidden] {
  display: none;
}

.guardian-fields h3 {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.guardian-fields > p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  color: #c0c0c0;
  font-size: 0.85rem;
  line-height: 1.5;
  cursor: pointer;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

.signup-summary {
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  border-color: rgba(212, 175, 55, 0.25);
}

.summary-plan,
.summary-fee,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary-plan {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-fee {
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #d1d1d1;
  font-size: 0.82rem;
}

.summary-fee span {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.summary-fee small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.summary-fee strong {
  color: var(--gold);
  white-space: nowrap;
}

.summary-plan > div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.summary-plan small,
.summary-detail,
.secure-checkout {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.summary-total {
  align-items: center;
  padding: 1.15rem 0;
}

.summary-total span {
  font-size: 0.85rem;
}

.summary-total strong {
  color: var(--gold);
  font-size: 1.1rem;
}

.renewal-price {
  margin: -0.55rem 0 1rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.summary-detail {
  margin-bottom: 1rem;
}

.checkout-note {
  margin: 0 0 1rem;
}

.checkout-button {
  width: 100%;
  margin-top: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}

.checkout-button:disabled {
  cursor: wait;
  filter: grayscale(0.5);
}

.secure-checkout {
  margin-top: 0.75rem;
  text-align: center;
}

.signup-summary .status-message {
  text-align: left;
}

.signup-login-link {
  margin-top: 2rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}


/* TRIAL PAGE */

#trialForm input {
  margin-bottom: 1.2rem;
}

#trialForm button {
  margin-top: 0.5rem;
}

/* ADMIN LAYOUT */
.admin-body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050505;
  color: #f5f5f5;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* SIDEBAR */
.admin-sidebar {
  background: #050505;
  border-right: 1px solid rgba(255, 215, 0, 0.15);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-logo-main {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd700;
}

.admin-logo-sub {
  font-size: 12px;
  text-transform: uppercase;
  color: #888;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-nav-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #ddd;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.admin-nav-item:hover {
  background: rgba(255, 215, 0, 0.08);
}

.admin-nav-item.active {
  background: rgba(255, 215, 0, 0.18);
  color: #ffd700;
}

.admin-sidebar-footer {
  margin-top: auto;
}

.admin-logout-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  background: transparent;
  color: #ffd700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.admin-logout-btn:hover {
  background: rgba(255, 215, 0, 0.18);
}

/* MAIN */
.admin-main {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-title {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  text-transform: uppercase;
  color: #999;
}

.admin-user-email {
  font-size: 13px;
  color: #ccc;
}

/* VIEWS */
.admin-view {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.admin-view.active {
  display: flex;
}

.admin-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-view-header h2 {
  margin: 0;
  font-size: 18px;
}

/* BUTTONS */
.admin-primary-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: #ffd700;
  color: #050505;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s;
}

.admin-primary-btn:hover {
  filter: brightness(1.05);
}

.admin-secondary-btn {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  background: transparent;
  color: #ffd700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}

.admin-secondary-btn:hover {
  background: rgba(255, 215, 0, 0.12);
}

/* TABLES */
.admin-table-wrapper {
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.18);
  overflow-x: auto;
  background: #080808;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table thead {
  background: rgba(255, 215, 0, 0.08);
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  text-align: left;
}

.admin-table th {
  font-weight: 600;
  color: #ffd700;
  border-bottom: 1px solid rgba(255, 215, 0, 0.18);
}

.admin-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.admin-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.06);
}

/* TAGS / SETTINGS */
.admin-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
}

.admin-settings-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.18);
  padding: 14px 16px;
  background: #080808;
}

.admin-settings-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.admin-settings-card label {
  display: block;
  font-size: 12px;
  margin-top: 8px;
  margin-bottom: 4px;
  color: #aaa;
}

.admin-settings-card input {
  width: 100%;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  background: #050505;
  color: #f5f5f5;
  font-size: 13px;
}

.admin-tag-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-tag {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* MODAL */
.admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.admin-modal.active {
  display: flex;
}


.admin-modal-content {
  background: #0a0a0a;
  padding: 24px;
  border-radius: 12px;
  width: 360px;
  border: 1px solid rgba(255,215,0,0.25);
}

.admin-modal-content h2 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-modal-content label {
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 13px;
  color: #ccc;
}

.admin-modal-content input,
.admin-modal-content select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,215,0,0.25);
  background: #050505;
  color: #fff;
  font-size: 14px;
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* EDIT MEMBER MODAL */
#editMemberModal .admin-modal-content {
  width: 360px;
}

@media (max-width: 980px) {
  .signup-content {
    grid-template-columns: 1fr;
  }

  .signup-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 5vw;
  }

  .main-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .main-nav a {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 58vh;
    padding: 4rem 6vw;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .section,
  .site-footer,
  .dash-main,
  .dash-header {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .coach-section {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .card.featured {
    transform: none;
  }

  .membership-link:hover,
  .membership-link.featured:hover {
    transform: none;
  }

  .signup-header {
    padding: 0.75rem 1rem;
  }

  .signup-brand > span:last-child {
    display: none;
  }

  .signup-main {
    width: min(100% - 1.25rem, 1180px);
    padding: 2.25rem 0 3rem;
  }

  .signup-intro {
    margin-bottom: 1.75rem;
  }

  .signup-steps {
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.68rem;
  }

  .signup-steps li {
    gap: 0.35rem;
  }

  .signup-steps span {
    width: 23px;
    height: 23px;
  }

  .signup-panel,
  .signup-summary {
    padding: 1.2rem;
    border-radius: 12px;
  }

  .plan-options,
  .billing-options,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full-width {
    grid-column: auto;
  }

  .plan-option {
    min-height: 94px;
  }

  .auth-container {
    margin: 1rem;
    padding: 1.75rem 1.25rem;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    padding: 16px;
  }

  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
  }

  .admin-nav-item {
    width: auto;
    flex: 0 0 auto;
  }

  .admin-sidebar-footer {
    margin-top: 0;
  }

  .admin-main {
    padding: 18px 14px;
  }

  .admin-topbar,
  .admin-view-header {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .admin-settings-grid {
    grid-template-columns: 1fr;
  }

  .admin-modal-content,
  #editMemberModal .admin-modal-content {
    width: min(360px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }
}

