/* Booking / checkout / resume / thank-you — Fight Night with Kingdav */

.app-main {
  position: relative;
  padding: calc(var(--nav-h, 72px) + 2.5rem) var(--pad-x, 1.25rem) 4rem;
  min-height: 70vh;
  z-index: 1;
}

body.page-booking {
  background: #05070d;
}

body.page-booking::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.72) 0%, rgba(5, 7, 13, 0.88) 45%, rgba(5, 7, 13, 0.96) 100%),
    radial-gradient(circle at 12% 18%, rgba(225, 29, 46, 0.22), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(232, 185, 35, 0.12), transparent 28%),
    url("assets/hero-kingdav.jpg") center / cover no-repeat;
}

body.page-booking .site-footer,
body.page-booking .site-nav {
  position: relative;
  z-index: 2;
}

.app-shell {
  max-width: 820px;
  margin: 0 auto;
}

.app-shell.wide {
  max-width: 1100px;
}

.app-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(16, 22, 34, 0.92) 0%, rgba(8, 10, 16, 0.96) 100%);
  border: 1px solid rgba(213, 217, 226, 0.14);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--muted, rgba(213, 217, 226, 0.72));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red, #e11d2e), var(--gold, #e8b923), transparent);
}

.app-card h1,
.app-card h2 {
  font-family: var(--font-display, "Bebas Neue", Impact, sans-serif);
  margin: 0 0 0.65rem;
  color: var(--white, #f7f8fb);
  letter-spacing: 0.03em;
  line-height: 0.95;
  font-size: clamp(2rem, 6vw, 3rem);
  text-transform: uppercase;
}

.app-card > p {
  margin: 0 0 1rem;
  max-width: 40rem;
}

.app-card .eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-head, "Oswald", sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold, #e8b923);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: rgba(213, 217, 226, 0.88);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(213, 217, 226, 0.18);
  border-radius: 0;
  background: rgba(5, 7, 13, 0.55);
  color: #fff;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(232, 185, 35, 0.55);
  box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.12);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

/* Soft notice — not an error */
.booking-note {
  display: grid;
  gap: 0.35rem;
  margin: 1.1rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold, #e8b923);
  background: rgba(232, 185, 35, 0.08);
  color: rgba(247, 248, 251, 0.88);
}

.booking-note strong {
  font-family: var(--font-head, "Oswald", sans-serif);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold, #e8b923);
  font-weight: 600;
}

.booking-note p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(213, 217, 226, 0.78);
}

.alert {
  padding: 0.95rem 1.05rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(26, 109, 255, 0.28);
  background: rgba(26, 109, 255, 0.1);
  color: #c8dbff;
}

.alert.error {
  border-color: rgba(225, 29, 46, 0.4);
  background: rgba(225, 29, 46, 0.12);
  color: #ffc2c8;
}

.alert.success {
  border-color: rgba(62, 207, 90, 0.4);
  background: rgba(62, 207, 90, 0.1);
  color: #b8f5c4;
}

.alert.info {
  border-color: rgba(232, 185, 35, 0.3);
  background: rgba(232, 185, 35, 0.08);
  color: rgba(247, 248, 251, 0.9);
}

.price-preview {
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: clamp(2rem, 7vw, 2.6rem);
  color: var(--gold, #e8b923);
  letter-spacing: 0.04em;
  line-height: 1;
}

.amount-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(213, 217, 226, 0.55);
  margin-bottom: 0.35rem;
}

.qr-box {
  text-align: center;
  margin: 1.5rem 0;
}

.qr-box img {
  width: min(280px, 100%);
  margin-inline: auto;
  background: #fff;
  padding: 14px;
}

.table-wrap {
  overflow-x: auto;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.data th,
table.data td {
  text-align: left;
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid rgba(213, 217, 226, 0.12);
  vertical-align: top;
}

table.data th {
  color: var(--red, #e11d2e);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: 38%;
}

.status-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(232, 185, 35, 0.35);
  color: var(--gold, #e8b923);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-pill-admitted {
  border-color: rgba(225, 29, 46, 0.5);
  color: #ffb3bb;
  background: rgba(225, 29, 46, 0.12);
}

.btn-magenta,
.btn-magenta:hover {
  background: var(--red, #e11d2e);
  color: var(--white, #fff);
  border-color: transparent;
}

.field-hint {
  font-size: 0.75rem;
  color: rgba(213, 217, 226, 0.5);
  margin-top: 0.15rem;
}

.age-confirm {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.35rem 0 0.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(213, 217, 226, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(247, 248, 251, 0.9);
  cursor: pointer;
}

.age-confirm input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--red, #e11d2e);
}

.age-confirm span {
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 500;
}

/* Timeline */
.booking-timeline {
  position: relative;
  margin: 1.5rem 0 0.5rem;
  padding: 1rem 0.25rem 0.85rem;
}

.booking-timeline-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: calc(1rem + 1rem);
  height: 3px;
  border-radius: 999px;
  background: rgba(213, 217, 226, 0.14);
  overflow: hidden;
  z-index: 0;
}

.booking-timeline-progress {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red, #e11d2e), var(--gold, #e8b923));
  transition: width 0.3s ease;
}

.booking-timeline-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}

.booking-timeline-step {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  color: rgba(213, 217, 226, 0.4);
  min-width: 0;
}

.booking-timeline-dot {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(213, 217, 226, 0.22);
  background: #0a0f1c;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(10, 15, 28, 0.95);
}

.booking-timeline-step strong {
  font-size: 0.88rem;
  line-height: 1.15;
  color: inherit;
  font-family: var(--font-head, "Oswald", sans-serif);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-timeline-step small {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.booking-timeline-step.is-active,
.booking-timeline-step.is-done {
  color: var(--gold, #e8b923);
}

.booking-timeline-step.is-active .booking-timeline-dot,
.booking-timeline-step.is-done .booking-timeline-dot {
  border-color: var(--gold, #e8b923);
  background: linear-gradient(135deg, var(--red, #e11d2e), var(--gold, #e8b923));
  color: #fff;
  box-shadow: 0 0 0 4px rgba(10, 15, 28, 0.95), 0 0 0 7px rgba(232, 185, 35, 0.14);
}

.booking-panel[hidden] {
  display: none !important;
}

.booking-review {
  display: grid;
  gap: 1rem;
}

.booking-total-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(232, 185, 35, 0.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(225, 29, 46, 0.35), transparent 45%),
    linear-gradient(135deg, #1a0a0c 0%, #141018 55%, #1c1408 100%);
  color: var(--white, #f7f8fb);
}

.booking-total-card-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.booking-total-card-copy span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold, #e8b923);
}

.booking-total-card-copy p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(213, 217, 226, 0.7);
}

.booking-total-card > strong {
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: clamp(2.1rem, 8vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
  color: var(--gold, #e8b923);
}

.booking-review-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.booking-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.05rem 1rem;
  border: 1px solid rgba(213, 217, 226, 0.12);
  background: rgba(5, 7, 13, 0.35);
  min-width: 0;
}

.booking-card-ticket {
  background:
    radial-gradient(circle at 100% 0%, rgba(225, 29, 46, 0.16), transparent 50%),
    rgba(5, 7, 13, 0.35);
}

.booking-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.booking-card-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(225, 29, 46, 0.14);
  border: 1px solid rgba(225, 29, 46, 0.28);
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--red, #e11d2e);
}

.booking-card-label {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(213, 217, 226, 0.5);
}

.booking-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #fff;
  font-weight: 600;
  word-break: break-word;
  font-family: var(--font-body, "Montserrat", sans-serif);
}

.booking-card-body {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(213, 217, 226, 0.1);
}

.booking-card-body-2 {
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.booking-card-body > div {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.booking-card-body span {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(213, 217, 226, 0.48);
}

.booking-card-body strong {
  color: var(--gold, #e8b923);
  font-size: 0.95rem;
  font-weight: 600;
  word-break: break-word;
}

.booking-review-actions {
  margin-top: 0.25rem;
}

.booking-verify {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(26, 109, 255, 0.28);
  background: rgba(26, 109, 255, 0.08);
}

.booking-verify strong {
  font-family: var(--font-head, "Oswald", sans-serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #9ec0ff;
}

.booking-verify p {
  margin: 0;
  color: rgba(213, 217, 226, 0.8);
}

@media (min-width: 640px) {
  .booking-timeline {
    padding: 1.1rem 0.5rem 0.9rem;
  }

  .booking-timeline-line {
    left: 16%;
    right: 16%;
  }

  .booking-review-columns {
    grid-template-columns: 1fr 1fr;
  }

  .booking-total-card {
    padding: 1.35rem 1.4rem;
  }
}

@media (max-width: 560px) {
  .booking-timeline-step small {
    display: none;
  }

  .booking-timeline-step strong {
    font-size: 0.78rem;
  }

  .booking-timeline-dot {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.72rem;
  }

  .booking-timeline-line {
    left: 10%;
    right: 10%;
    top: calc(1rem + 0.9rem);
  }
}

@media (max-width: 700px) {
  .form-grid.two {
    grid-template-columns: 1fr;
  }
}
