/* ══════════════════════════════════════════
   VISION GLAM BEAUTY — Booking Modal
   Palette : Creme · Rose Gold · Chocolat
══════════════════════════════════════════ */

/* ── Overlay ── */
.booking-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 22, 13, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 1rem;
}
.booking-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── Modal ── */
.booking-modal {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(43, 22, 13, 0.95);
  border: 1px solid rgba(197, 141, 96, 0.2);
  padding: 2.5rem 2rem;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s ease;
}
.booking-overlay.active .booking-modal {
  transform: translateY(0);
}

/* Scrollbar custom */
.booking-modal::-webkit-scrollbar { width: 4px; }
.booking-modal::-webkit-scrollbar-track { background: transparent; }
.booking-modal::-webkit-scrollbar-thumb { background: rgba(197, 141, 96, 0.3); border-radius: 2px; }

/* ── Close button ── */
.booking-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(249, 244, 239, 0.5);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}
.booking-close:hover { color: #f9f4ef; }

/* ── Header ── */
.booking-header { text-align: center; margin-bottom: 2rem; }
.booking-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  background: linear-gradient(135deg, #e5b394, #d4a574, #c58d60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.05em;
}
.booking-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(229, 179, 148, 0.6);
  margin-top: 0.5rem;
}

/* ── Step Indicator ── */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.5rem;
}
.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(197, 141, 96, 0.2);
  border: 1px solid rgba(197, 141, 96, 0.3);
  transition: all 0.3s;
}
.step-dot.active {
  background: #c58d60;
  border-color: #c58d60;
  box-shadow: 0 0 10px rgba(197, 141, 96, 0.4);
}
.step-dot.done {
  background: rgba(197, 141, 96, 0.5);
  border-color: rgba(197, 141, 96, 0.5);
}
.step-line {
  width: 40px;
  height: 1px;
  background: rgba(197, 141, 96, 0.15);
  transition: background 0.3s;
}
.step-line.done { background: rgba(197, 141, 96, 0.5); }

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: #f9f4ef;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* ── Conditions (Step 0) ── */
.booking-conditions-box {
  background: rgba(253, 250, 246, 0.04);
  border: 1px solid rgba(197, 141, 96, 0.2);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.2rem;
  max-height: 300px;
  overflow-y: auto;
}
.booking-conditions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.booking-conditions-list li {
  font-size: 0.72rem;
  color: rgba(249, 244, 239, 0.8);
  line-height: 1.6;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(197, 141, 96, 0.06);
}
.booking-conditions-list li:last-child { border-bottom: none; }
.booking-conditions-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #d4a574;
  font-weight: bold;
}
.booking-conditions-list li.condition-highlight {
  color: #f9f4ef;
  background: rgba(197, 141, 96, 0.1);
  border-left: 3px solid #c58d60; /* Rose Gold accent */
  padding-left: 1.8rem;
  font-weight: 500;
}
.booking-conditions-list li.condition-highlight strong {
  color: #d4a574;
  text-decoration: underline rgba(212, 165, 116, 0.3);
}

/* ── Steps visibility ── */
.booking-step.hidden { display: none; }

/* ── Filters ── */
.booking-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.4rem 1rem;
  background: rgba(253, 250, 246, 0.05);
  border: 1px solid rgba(197, 141, 96, 0.2);
  color: rgba(249, 244, 239, 0.6);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn.active,
.filter-btn:hover {
  background: rgba(197, 141, 96, 0.15);
  border-color: #c58d60;
  color: #f9f4ef;
}

/* ── Service cards (step 1) ── */
.booking-services {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  padding-right: 0.3rem;
}
.service-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: rgba(253, 250, 246, 0.03);
  border: 1px solid rgba(197, 141, 96, 0.12);
  cursor: pointer;
  transition: all 0.3s;
}
.service-option:hover {
  background: rgba(253, 250, 246, 0.06);
  border-color: rgba(197, 141, 96, 0.3);
}
.service-option.selected {
  background: rgba(197, 141, 96, 0.1);
  border-color: #c58d60;
}
.service-option-info { flex: 1; }
.service-option-name {
  font-size: 0.8rem;
  color: #f9f4ef;
  font-weight: 500;
}
.service-option-detail {
  font-size: 0.6rem;
  color: rgba(229, 179, 148, 0.5);
  margin-top: 0.2rem;
}
.service-option-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #d4a574;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 1rem;
}

/* ── Calendar (step 2) ── */
.booking-calendar {
  margin-bottom: 1rem;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.cal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #f9f4ef;
}
.cal-nav {
  background: none;
  border: 1px solid rgba(197, 141, 96, 0.2);
  color: #d4a574;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.cal-nav:hover { background: rgba(197, 141, 96, 0.15); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.cal-day-name {
  font-size: 0.55rem;
  color: rgba(229, 179, 148, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem;
}
.cal-day {
  padding: 0.5rem;
  font-size: 0.75rem;
  color: rgba(249, 244, 239, 0.4);
  cursor: default;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.cal-day.available {
  color: #f9f4ef;
  cursor: pointer;
}
.cal-day.available:hover {
  background: rgba(197, 141, 96, 0.1);
  border-color: rgba(197, 141, 96, 0.3);
}
.cal-day.selected {
  background: rgba(197, 141, 96, 0.2);
  border-color: #c58d60;
  color: #f9f4ef;
}
.cal-day.today {
  border-color: rgba(197, 141, 96, 0.4);
}

/* ── Time slots (step 2) ── */
.booking-slots {
  margin-bottom: 1.5rem;
}
.slots-title {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(229, 179, 148, 0.5);
  margin-bottom: 0.8rem;
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.4rem;
}
.slot-btn {
  padding: 0.5rem;
  background: rgba(253, 250, 246, 0.03);
  border: 1px solid rgba(197, 141, 96, 0.15);
  color: rgba(249, 244, 239, 0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}
.slot-btn:hover {
  background: rgba(197, 141, 96, 0.1);
  border-color: rgba(197, 141, 96, 0.3);
}
.slot-btn.selected {
  background: rgba(197, 141, 96, 0.2);
  border-color: #c58d60;
  color: #f9f4ef;
}
.slot-btn.unavailable {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}
.slot-nocturne {
  font-size: 0.5rem;
  color: #d4a574;
  display: block;
  margin-top: 2px;
}

/* ── Form (step 3) ── */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.booking-field label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(229, 179, 148, 0.6);
  margin-bottom: 0.4rem;
}
.booking-field input,
.booking-field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  background: rgba(253, 250, 246, 0.05);
  border: 1px solid rgba(197, 141, 96, 0.2);
  color: #f9f4ef;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.3s;
}
.booking-field input:focus,
.booking-field textarea:focus {
  border-color: #c58d60;
}
.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: rgba(249, 244, 239, 0.25);
}
.booking-field textarea { resize: vertical; }

/* ── Recap (step 4) ── */
.booking-recap {
  background: rgba(253, 250, 246, 0.03);
  border: 1px solid rgba(197, 141, 96, 0.15);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.recap-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(197, 141, 96, 0.08);
  font-size: 0.75rem;
}
.recap-row:last-child { border-bottom: none; }
.recap-label { color: rgba(229, 179, 148, 0.6); }
.recap-value { color: #f9f4ef; font-weight: 500; }
.recap-total {
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(197, 141, 96, 0.3);
  font-size: 0.85rem;
}
.recap-total .recap-value {
  color: #d4a574;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
}
.recap-instructions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(197, 141, 96, 0.3);
  text-align: center;
}
.recap-instructions p {
  font-size: 0.75rem;
  color: rgba(249, 244, 239, 0.8);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.paypal-me-link {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #0070ba; /* PayPal Blue */
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
  margin: 0.5rem 0 1rem;
}
.paypal-me-link:hover {
  background: #005ea6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 112, 186, 0.3);
}
.recap-note {
  font-size: 0.65rem !important;
  color: rgba(229, 179, 148, 0.5) !important;
  font-style: italic;
}
.recap-acompte {
  font-size: 0.6rem;
  color: rgba(229, 179, 148, 0.5);
  text-align: right;
  margin-top: 0.3rem;
}

/* ── Buttons ── */
.booking-nav {
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
}
.booking-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.booking-btn-next,
.booking-btn-pay {
  background: linear-gradient(135deg, #9e6d45, #c58d60, #e5b394);
  background-size: 200%;
  color: #fff;
  margin-left: auto;
}
.booking-btn-next:hover,
.booking-btn-pay:hover {
  background-position: right;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 141, 96, 0.3);
}
.booking-btn-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.booking-btn-back {
  background: transparent;
  border: 1px solid rgba(197, 141, 96, 0.2);
  color: rgba(249, 244, 239, 0.6);
}
.booking-btn-back:hover {
  border-color: rgba(197, 141, 96, 0.4);
  color: #f9f4ef;
}

/* ── Payment Instructions Step ── */
.payment-instructions-box {
  background: rgba(253, 250, 246, 0.04);
  border: 1px solid rgba(197, 141, 96, 0.2);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.2rem;
}
.payment-instructions-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #e5b394;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}
.payment-instructions-list {
  list-style: none;
  counter-reset: instruction;
  padding: 0;
}
.payment-instructions-list li {
  counter-increment: instruction;
  font-size: 0.72rem;
  color: rgba(249, 244, 239, 0.8);
  line-height: 1.6;
  padding: 0.4rem 0;
  padding-left: 1.8rem;
  position: relative;
  border-bottom: 1px solid rgba(197, 141, 96, 0.06);
}
.payment-instructions-list li:last-child { border-bottom: none; }
.payment-instructions-list li::before {
  content: counter(instruction);
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 20px;
  height: 20px;
  background: rgba(197, 141, 96, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: #d4a574;
  font-weight: 600;
}

.payment-amount-recap {
  background: rgba(197, 141, 96, 0.08);
  border: 1px solid rgba(197, 141, 96, 0.25);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
}
.payment-amount-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(249, 244, 239, 0.7);
  padding: 0.3rem 0;
}
.payment-amount-highlight {
  font-weight: 600;
  color: #d4a574;
  font-size: 0.8rem;
  padding-top: 0.5rem;
  margin-top: 0.3rem;
  border-top: 1px solid rgba(197, 141, 96, 0.2);
}
.payment-amount-ref {
  font-size: 0.65rem;
  color: rgba(229, 179, 148, 0.7);
  margin-top: 0.8rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(197, 141, 96, 0.2);
}

.payment-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  margin-bottom: 1.2rem;
  padding: 0.8rem;
  border: 1px solid rgba(197, 141, 96, 0.15);
  transition: border-color 0.3s;
}
.payment-checkbox-label:hover {
  border-color: rgba(197, 141, 96, 0.4);
}
.payment-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #c58d60;
  margin-top: 1px;
  flex-shrink: 0;
}
.payment-checkbox-label span {
  font-size: 0.7rem;
  color: rgba(249, 244, 239, 0.8);
  line-height: 1.4;
}

.payment-paypal-btn {
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}
.payment-paypal-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
  filter: grayscale(0.5);
}

.payment-note {
  font-size: 0.6rem;
  color: rgba(229, 179, 148, 0.4);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ── Success ── */
.booking-success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border: 2px solid #c58d60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #c58d60;
}
.booking-success-text {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(249, 244, 239, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .booking-overlay { padding: 0; align-items: flex-end; }
  .booking-modal {
    max-height: 95vh;
    padding: 2rem 1.2rem;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
  }
  .booking-title { font-size: 1.4rem; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
  .slot-btn { padding: 0.65rem 0.4rem; font-size: 0.72rem; min-height: 44px; }
  .booking-nav { flex-direction: column; }
  .booking-btn-next { margin-left: 0; }
  .booking-btn { min-height: 44px; justify-content: center; }
  .service-option { padding: 0.9rem 1rem; min-height: 44px; }
  .filter-btn { padding: 0.5rem 1rem; min-height: 36px; }
  .cal-day { padding: 0.6rem; min-height: 40px; display: flex; align-items: center; justify-content: center; }
  .cal-nav { width: 36px; height: 36px; }
  .booking-field input,
  .booking-field textarea { padding: 0.85rem 0.8rem; font-size: 16px; }
}

@media (max-width: 600px) {
  .payment-instructions-box { padding: 1rem; }
  .payment-instructions-list li { font-size: 0.68rem; padding-left: 1.5rem; }
  .payment-instructions-list li::before { width: 17px; height: 17px; font-size: 0.5rem; }
  .payment-amount-recap { padding: 0.8rem 1rem; }
  .payment-checkbox-label { padding: 0.6rem; }
  .payment-checkbox-label span { font-size: 0.65rem; }
}

@media (max-width: 380px) {
  .booking-modal { padding: 1.5rem 1rem; }
  .step-line { width: 24px; }
  .step-dot { width: 8px; height: 8px; }
}
