/* ============================================
   BOOKING OVERLAY — Multi-step reservation
   ============================================ */

.booking {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}

.booking.is-open {
  opacity: 1;
  visibility: visible;
}

/* ---- Backdrop ---- */
.booking__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 60, 64, 0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---- Panel ---- */
.booking__panel {
  position: relative;
  width: 90vw;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--c-deep-teal);
  border-radius: var(--r-md);
  padding: var(--sp-2xl);
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-out);
  scrollbar-width: thin;
  scrollbar-color: var(--c-green) transparent;
}

.booking.is-open .booking__panel {
  transform: translateY(0);
}

.booking__panel::-webkit-scrollbar {
  width: 4px;
}

.booking__panel::-webkit-scrollbar-thumb {
  background: var(--c-green);
  border-radius: 2px;
}

/* ---- Close ---- */
.booking__close {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white-50);
  font-size: 28px;
  line-height: 1;
  transition: color var(--t-fast) var(--ease-out);
  z-index: 2;
  cursor: pointer;
}

.booking__close:hover {
  color: var(--c-white);
}

/* ---- Step Indicator ---- */
.booking__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}

.booking__step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--c-white-50);
  color: var(--c-white-50);
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast) var(--ease-out);
}

.booking__step--active {
  background-color: var(--c-green);
  border-color: var(--c-green);
  color: var(--c-white);
}

.booking__step--done {
  background-color: var(--c-green-dark);
  border-color: var(--c-green-dark);
  color: var(--c-white);
}

.booking__step-line {
  width: 32px;
  height: 1px;
  background-color: var(--c-white-50);
}

/* ---- Pages ---- */
.booking__page {
  display: none;
}

.booking__page--active {
  display: block;
  animation: bookFadeIn 0.3s var(--ease-out);
}

@keyframes bookFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Header ---- */
.booking__header {
  margin-bottom: var(--sp-xl);
}

.booking__title {
  font-family: var(--ff-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
  color: var(--c-white);
  margin-bottom: var(--sp-sm);
  line-height: 1.15;
}

.booking__subtitle {
  font-size: 14px;
  color: var(--c-white-50);
  line-height: 1.50;
}

/* ---- Form ---- */
.booking__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.booking__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.booking__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking__field--full {
  grid-column: 1 / -1;
}

.booking__field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-white-50);
}

.booking__field label span {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.booking__field input,
.booking__field select,
.booking__field textarea {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--c-white);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color var(--t-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.booking__field input::placeholder,
.booking__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.30);
}

.booking__field input:focus,
.booking__field select:focus,
.booking__field textarea:focus {
  border-color: var(--c-green);
}

.booking__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.booking__field select option {
  background-color: var(--c-deep-teal);
  color: var(--c-white);
}

.booking__field textarea {
  resize: vertical;
  min-height: 60px;
}

/* ---- Price Summary ---- */
.booking__summary {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-sm);
  padding: var(--sp-md);
  margin-top: var(--sp-sm);
}

.booking__summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--c-white-80);
  margin-bottom: var(--sp-sm);
}

.booking__summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-white);
  padding-top: var(--sp-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* ---- Submit Button ---- */
.booking__submit {
  width: 100%;
  margin-top: var(--sp-sm);
  text-align: center;
}

/* ---- Back Button ---- */
.booking__back {
  display: inline-block;
  margin-top: var(--sp-lg);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-white-50);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease-out);
}

.booking__back:hover {
  color: var(--c-white);
}

/* ---- Payment Methods ---- */
.booking__methods {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.booking__method {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-lg);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-out),
              background-color var(--t-fast) var(--ease-out);
  text-align: left;
  width: 100%;
}

.booking__method:hover {
  border-color: var(--c-green);
  background-color: rgba(74, 124, 111, 0.10);
}

.booking__method-icon {
  color: var(--c-green-light);
  flex-shrink: 0;
}

.booking__method-text h3 {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 4px;
  line-height: 1.3;
}

.booking__method-text p {
  font-size: 13px;
  color: var(--c-white-50);
  line-height: 1.4;
}

/* ---- Card Form ---- */
.booking__card-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.booking__card-brands {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
}

.booking__card-brands span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-white-50);
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
}

/* ---- Confirmation ---- */
.booking__confirm {
  text-align: center;
  padding: var(--sp-lg) 0;
}

.booking__confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--c-green);
  color: var(--c-white);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-lg);
}

.booking__ref {
  font-family: var(--ff-body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--c-green-light);
  background-color: rgba(255, 255, 255, 0.05);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: var(--r-sm);
  margin: var(--sp-lg) auto;
  display: inline-block;
}

.booking__confirm-details {
  font-size: 14px;
  color: var(--c-white-80);
  line-height: 1.70;
  margin-bottom: var(--sp-lg);
}

.booking__confirm-note {
  font-size: 13px;
  color: var(--c-white-50);
  line-height: 1.55;
  margin-bottom: var(--sp-sm);
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .booking__panel {
    width: 100vw;
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    padding: var(--sp-xl) var(--sp-md);
    padding-top: var(--sp-3xl);
  }

  .booking__row {
    grid-template-columns: 1fr;
  }

  .booking__method {
    gap: var(--sp-md);
    padding: var(--sp-md);
  }
}
