/* Kétoszlopos váz */
.booking-ui-wrapper {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.booking-calendar-card, .booking-slots-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.booking-calendar-card { flex: 1; min-width: 320px; }
.booking-slots-card { flex: 1.2; min-width: 320px; }

/* Naptár Fejléc & Grid */
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cal-nav-btn { background: #d9531e; color: #fff; border: none; border-radius: 6px; padding: 0.4rem 0.8rem; cursor: pointer; }
.calendar-weekdays, .calendar-days-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.calendar-weekdays { font-weight: bold; font-size: 0.85rem; color: #64748b; margin-bottom: 8px; }

.cal-day { padding: 10px 0; border-radius: 8px; font-size: 0.95rem; color: #cbd5e1; }
.cal-day.has-available-slots { background-color: #e6f4ea; color: #1e4620; cursor: pointer; font-weight: bold; }
.cal-day.selected-day { background-color: #2e4d38 !important; color: #fff !important; }

/* Idősáv kártyák (Grid) */
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 1rem; }

.slot-card-btn {
  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-card-btn:hover:not(.booked) { background-color: #b84114; }
.slot-card-btn.selected { outline: 3px solid #2e4d38; background-color: #2e4d38; }

/* Foglalt kártya (Halványított) */
.slot-card-btn.booked {
  background-color: #f5c4b1;
  color: #d9531e;
  opacity: 0.55;
  cursor: not-allowed;
}
/* Modal háttér (sötétített overlay) */
.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.booking-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal kártya a képernyő közepén */
.booking-modal-box {
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transform: translateY(-20px);
  transition: transform 0.2s ease-in-out;
}

.booking-modal-overlay.active .booking-modal-box {
  transform: translateY(0);
}

.booking-modal-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #d9531e;
}

.booking-modal-message {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.booking-modal-close-btn {
  background-color: #d9531e;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.booking-modal-close-btn:hover {
  background-color: #b84114;
}

