/* ===== Trigger button ===== */
.book-service-btn {
  background: #016AD9;
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(1, 106, 217, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.book-service-btn:hover {
  background: #0A2C5C;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 44, 92, 0.45);
}

/* ===== Popup overlay + wrapper ===== */
.booking-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.booking-popup.is-open {
  display: flex;
}
.booking-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

/* ===== Popup box ===== */
.booking-popup-box {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  font-family: inherit;
}

.booking-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}
.booking-popup-close:hover {
  color: #0f172a;
}

.booking-popup-service-name {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}
.booking-popup-service-price {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 600;
  color: #016AD9;
}

/* ===== Booking type toggle ===== */
.booking-type-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.booking-type-toggle label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.booking-type-toggle input {
  accent-color: #016AD9;
}
.booking-type-toggle label:has(input:checked) {
  border-color: #016AD9;
  background: #eef2ff;
  color: #016AD9;
}

/* ===== Field groups ===== */
.booking-field-group {
  margin-bottom: 16px;
}
.booking-field-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.booking-field-group input,
.booking-field-group select,
.booking-field-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  font-family: inherit;
}
.booking-field-group input:focus,
.booking-field-group select:focus,
.booking-field-group textarea:focus {
  outline: none;
  border-color: #016AD9;
  background: #fff;
}
.booking-field-group textarea {
  resize: vertical;
  min-height: 80px;
}

.booking-details-error {
  color: #dc2626;
  font-size: 13px;
  margin: -8px 0 16px;
}

.is-hidden {
  display: none !important;
}

/* ===== Submit button ===== */
.booking-popup-submit {
  width: 100%;
  background: #016AD9;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(1, 106, 217, 0.3);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.booking-popup-submit:hover {
  background: #0A2C5C;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(10, 44, 92, 0.4);
}
