/* 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;
}

/* ---------- Kezdő tájékoztató a naptár mellett ---------- */
.booking-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0 0.25rem;
}
.booking-intro[hidden],
.booking-date-title[hidden] {
  display: none !important;
}
.booking-intro-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.booking-intro-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: rgba(242, 101, 34, 0.1);
  color: #F26522;
  font-size: 1.5rem;
}
.booking-intro-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
}
.booking-intro-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
}
.booking-intro-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0.5rem 0 0;
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.18);
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.5;
}
.booking-intro-tip i {
  margin-top: 0.15rem;
  color: #00AEEF;
  font-size: 1rem;
}
.booking-intro-tip strong {
  color: #0072BC;
  font-weight: 700;
}
/* A kiválasztott dátum */
#slots-view-header .booking-date-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}
