.booking-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(18, 18, 18, .78);
}

.booking-confirm-modal[hidden] {
  display: none;
}

.booking-confirm-card {
  position: relative;
  width: min(500px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 32px 34px 26px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.booking-confirm-card h2 {
  margin: 0 0 24px;
  font: 38px/.96 Georgia, serif;
  font-weight: 400;
  letter-spacing: -.04em;
}

.booking-confirm-close {
  position: absolute;
  top: 13px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.booking-confirm-close:hover,
.booking-confirm-close:focus-visible {
  color: var(--ink);
  outline: 0;
}

.booking-confirm-meta {
  border-top: 1px solid var(--line);
}

.booking-confirm-meta > div,
.booking-confirm-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.booking-confirm-meta span,
.booking-confirm-total span {
  color: var(--muted);
}

.booking-confirm-meta b {
  max-width: 65%;
  text-align: right;
  font-weight: 700;
}

.booking-confirm-seats {
  margin-top: 2px;
}

.booking-confirm-seat {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.booking-confirm-seat strong {
  white-space: nowrap;
}

.booking-confirm-total {
  margin-top: 2px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.booking-confirm-total strong {
  font: 30px/.95 Georgia, serif;
  font-weight: 400;
}

.booking-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  margin-top: 8px;
}

.booking-confirm-edit {
  min-height: 48px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
}

.booking-confirm-edit:hover,
.booking-confirm-edit:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: 0;
}

@media (max-width: 620px) {
  .booking-confirm-card {
    padding: 27px 18px 18px;
  }

  .booking-confirm-card h2 {
    margin-bottom: 19px;
    padding-right: 28px;
    font-size: 32px;
  }

  .booking-confirm-meta > div,
  .booking-confirm-total,
  .booking-confirm-seat {
    font-size: 12px;
  }

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

  .booking-confirm-actions .button {
    order: -1;
  }
}
