/* Design tokens copied from modusprotect.com so this booking flow matches the main site. */
:root {
  --ink: #0d1114;
  --charcoal: #151b1f;
  --slate: #20282e;
  --steel: #7d888d;
  --sand: #e2b373;
  --light: #f4f1ea;
  --muted: #c8c8c8;
  --white: #ffffff;
  --danger: #9b3a32;
  --success: #4a9b5e;
  --max: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--light);
  background: var(--ink);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 17, 20, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  gap: 1.5rem;
}

.brand img { max-width: 260px; width: 100%; height: auto; }

nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

nav a:hover { color: var(--white); }

@media (max-width: 860px) {
  nav { display: none; }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  cursor: pointer;
  transition: 0.2s ease;
  background: none;
}

.button-primary { background: var(--sand); color: #15110a; }
.button-primary:hover { filter: brightness(1.08); }
.button-primary:disabled { background: var(--steel); color: #15110a; cursor: not-allowed; }

.button-outline { border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.button-outline:hover { border-color: var(--sand); color: var(--sand); }

section { padding: 5rem 1.25rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}
.section-header, .cta-inner { align-items: start; flex-direction: column; }

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.section-header p { max-width: 560px; margin: 0; color: var(--muted); }

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}
h2 { font-size: 1.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.8rem; color: var(--white); line-height: 1.12; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  min-height: 100%;
}

.class-card { display: flex; flex-direction: column; gap: 1rem; }
.class-card p.desc { color: var(--muted); margin: 0; }

.price-tag {
  color: var(--sand);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.meeting-list { list-style: none; margin: 0 0 1rem; padding: 0; color: var(--light); font-size: 0.92rem; }
.meeting-list li { padding: 0.35rem 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.meeting-list li:last-child { border-bottom: none; }

.seats-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  background: rgba(226, 179, 115, 0.12);
  color: var(--sand);
}
.seats-badge.full { background: rgba(155, 58, 50, 0.15); color: #d98077; }

form.register-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #101519;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sand); }

label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); display: block; margin-bottom: 0.3rem; }

.form-error {
  background: rgba(155, 58, 50, 0.15);
  border: 1px solid var(--danger);
  color: #f2c9c5;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.form-success {
  background: rgba(74, 155, 94, 0.12);
  border: 1px solid var(--success);
  color: #bfe8c9;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero-simple { padding: 4rem 1.25rem 2rem; }
.hero-simple .section-inner { text-align: left; }

footer {
  padding: 2rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--steel);
  background: #080a0c;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* Admin */
.admin-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.admin-table th, .admin-table td { text-align: left; padding: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }
.admin-table th { color: var(--muted); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }

.meeting-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }
@media (max-width: 700px) { .meeting-row { grid-template-columns: 1fr 1fr; } }

.small-button {
  background: var(--slate);
  color: var(--light);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  cursor: pointer;
}
.small-button:hover { border-color: var(--sand); color: var(--sand); }
.small-button.danger:hover { border-color: var(--danger); color: #d98077; }

.status-pill { font-size: 0.72rem; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 3px; }
.status-pill.scheduled { background: rgba(74,155,94,0.15); color: #bfe8c9; }
.status-pill.cancelled { background: rgba(155,58,50,0.15); color: #d98077; }
