.adv-booking-wrapper {
  --primary-color: #4a5d4e;
  --primary-hover: #3b4b3e;
  --bg-card: #ffffff;
  --bg-calendar-hover: #f1f3f0;
  --active-date-bg: #e6ede8;
  --active-date-color: #4a5d4e;
  --selected-date-bg: #4a5d4e;
  --selected-date-color: #ffffff;
  --border-color: #e2e8f0;
  --text-main: #2d3748;
  --text-muted: #718096;
  --success: #38a169;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 30px 0;
}
.adv-booking-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 768px) { .adv-booking-grid { grid-template-columns: 1.2fr 1fr; } }
.adv-booking-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.calendar-title { font-weight: 700; font-size: 1.15rem; }
.calendar-nav { 
    background: #d9531e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
}
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-weight: 600; font-size: 0.85rem; color: var(--text-muted); }
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-day-cell { 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    border-radius: 8px;
    color: #cbd5e1;
    cursor: not-allowed;
    padding: 10px 0;
  }
.calendar-day-cell.current-month-day { color: #94a3b8; }
.calendar-day-cell.has-slots { background: var(--active-date-bg); color: var(--active-date-color); font-weight: 700; cursor: pointer; }
.calendar-day-cell.selected-day { background: var(--selected-date-bg) !important; color: var(--selected-date-color) !important; }
.slots-blocks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-bottom: 30px; }
.slot-block-item { 
background-color: #d9531e;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 6px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
}
.slot-block-item.selected-slot { border-color: var(--primary-color); background: var(--active-date-bg); color: var(--primary-color); }
.slot-block-item.booked-slot { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.booking-form-wrapper { border-top: 1px solid var(--border-color); padding-top: 24px; display: none; }
.booking-success-container { text-align: center; padding: 20px 0; }
.booking-success-icon { width: 64px; height: 64px; background: var(--success); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 16px auto; font-size: 2rem; }
.booking-error-message { color: #e53e3e; background: #fff5f5; border: 1px solid #fed7d7; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; }

/* A dátum címsor stílusa */
.booking-date-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

/* Az "Elérhető időpontok" alcím stílusa */
.booking-available-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
/* Modal overlay (sötétített háttér) */
.booking-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

/* Amikor aktív a modal, megjelenítjük flexbox-szal */
.booking-modal-overlay.active {
  display: flex !important;
}

/* Modal doboz */
.booking-modal-box {
  background-color: #ffffff;
  padding: 35px 30px;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: bookingModalPop 0.25s ease-out;
}

/* Címsor (Sikeres foglalás!) */
.booking-modal-title {
  color: #d9531e;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Üzenet szövege */
.booking-modal-message {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 25px;
}

/* Narancssárga Rendben gomb */
.booking-modal-close-btn {
  background-color: #d9531e;
  color: #ffffff;
  border: none;
  padding: 10px 35px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.booking-modal-close-btn:hover {
  background-color: #be4315;
}

/* Finom felugró animáció */
@keyframes bookingModalPop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}