/* ── Modal Overlay ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.visible { display: flex; }

/* ── Modal Box ── */
.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2.2rem;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,200,66,0.08);
}
.modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0.6;
}
.modal h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.modal .modal-vendor {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}
.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.1);
  border-color: var(--border-gold);
}
.modal .form-group { margin-bottom: 1rem; }
.modal .form-group label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.modal .form-input { width: 100%; margin-top: 0.3rem; }
.modal .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 1.2rem;
  padding: 0.9rem;
}

/* ── Booking Processing ── */
.booking-processing {
  text-align: center;
  padding: 2.5rem 1rem;
}
.booking-processing .spinner-large {
  display: inline-block;
  width: 44px; height: 44px;
  border: 3px solid rgba(255,255,255,0.08);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1.2rem;
}
.booking-processing p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}
.booking-processing .step {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.6rem;
}

/* ── Booking Confirmed ── */
.booking-confirmed {
  text-align: center;
  padding: 1.5rem 0.5rem;
}
.booking-confirmed .check-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--green);
}
.booking-confirmed h4 {
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.booking-confirmed .booking-id {
  color: var(--gold);
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.booking-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  text-align: left;
  margin: 1rem 0;
}
.booking-details .detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  font-size: 0.84rem;
  border-bottom: 1px solid var(--border);
}
.booking-details .detail-row:last-child { border-bottom: none; }
.booking-details .detail-label { color: var(--text-muted); }
.booking-details .detail-value { color: var(--text-primary); font-weight: 500; text-align: right; max-width: 60%; }
.booking-note {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  line-height: 1.5;
}
