.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.booking-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 40, 26, 0.5);
  backdrop-filter: blur(2px);
}

.booking-dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #ffffff;
  border: 1px solid #cfe3d7;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.booking-head {
  padding: 18px 20px;
  border-bottom: 1px solid #cfe3d7;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.booking-head h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #0f6b43;
}

.booking-head p {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #5a7f6f;
}

.booking-close {
  border: 1px solid #cfe3d7;
  background: #ffffff;
  color: #198b5a;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.booking-form {
  padding: 16px 20px 20px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.booking-field.full {
  grid-column: 1 / -1;
}

.booking-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #5a7f6f;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  border: 1px solid #cfe3d7;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.9rem;
  color: #0f6b43;
  background: #ffffff;
}

.booking-field textarea {
  min-height: 86px;
  resize: vertical;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: #198b5a;
  box-shadow: 0 0 0 3px rgba(25, 139, 90, 0.14);
}

.booking-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.booking-btn {
  border: 1px solid #cfe3d7;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.booking-btn.secondary {
  background: #ffffff;
  color: #0f6b43;
}

.booking-btn.primary {
  background: #0f6b43;
  border-color: #0f6b43;
  color: #ffffff;
}

.booking-success {
  display: none;
  margin-top: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  background: #e4f6ee;
  color: #0f754d;
  font-size: 0.82rem;
  font-weight: 500;
}

.booking-success.show {
  display: block;
}

.booking-success-popup {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.booking-success-popup.open {
  display: flex;
}

.booking-success-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 30, 18, 0.5);
  backdrop-filter: blur(2px);
}

.booking-success-popup-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #ffffff;
  border: 1px solid #cfe3d7;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  padding: 24px;
  text-align: center;
}

.booking-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e4f6ee;
  color: #0f6b43;
  font-size: 1.25rem;
  font-weight: 700;
}

.booking-success-popup-card h3 {
  margin: 0;
  color: #0f6b43;
  font-family: 'Playfair Display', serif;
}

.booking-success-popup-card p {
  margin: 10px 0 0;
  color: #34614f;
  font-size: 0.92rem;
}

.booking-success-btn {
  margin-top: 16px;
  border: 1px solid #0f6b43;
  border-radius: 10px;
  padding: 10px 16px;
  background: #0f6b43;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 768px) {
  .booking-dialog {
    width: 100%;
    border-radius: 14px;
  }

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