/* ===== Agenda booking widget (zomervakantie.html) ===== */
[x-cloak] { display: none !important; }

.agenda-trigger-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--oranje);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 16px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: agenda-trigger-pulse 2.4s ease-out infinite;
  transition: transform 0.2s;
}
.agenda-trigger-btn:hover { transform: scale(1.05); animation-play-state: paused; }
.agenda-trigger-btn svg { flex-shrink: 0; }

@keyframes agenda-trigger-pulse {
  0%   { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(239, 104, 37, 0.5); }
  50%  { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(239, 104, 37, 0); }
  100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(239, 104, 37, 0); }
}

/* ===== Overlay (backdrop, centreert de modal op elke breakpoint) ===== */
.agenda-overlay {
  position: fixed;
  inset: 0;
  z-index: 9600;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.agenda-overlay-enter,
.agenda-overlay-leave { transition: opacity 0.25s ease; }
.agenda-overlay-enter-start,
.agenda-overlay-leave-end { opacity: 0; }
.agenda-overlay-enter-end,
.agenda-overlay-leave-start { opacity: 1; }

/* ===== Modal paneel ===== */
.agenda-modal {
  position: relative;
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.agenda-modal-enter,
.agenda-modal-leave { transition: opacity 0.25s ease, transform 0.25s ease; }
.agenda-modal-enter-start,
.agenda-modal-leave-end { opacity: 0; transform: scale(0.96) translateY(8px); }
.agenda-modal-enter-end,
.agenda-modal-leave-start { opacity: 1; transform: scale(1) translateY(0); }

.agenda-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  background: var(--lichtblauw);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  color: #555;
  cursor: pointer;
  flex-shrink: 0;
}
.agenda-close-btn:hover { background: var(--lavendel); }

/* ===== Datum + workshop-overzicht onder de maand-thema-kaarten (Section 3) ===== */
.theme-date-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  border-top: 1px solid #e8ecf5;
  margin-top: 16px;
  padding: 14px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--oranje);
  cursor: pointer;
}
.theme-date-list { display: flex; flex-direction: column; gap: 8px; }
.theme-date-entry {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--lichtblauw);
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.theme-date-entry:hover,
.theme-date-entry:focus-visible { background: var(--lavendel); }
.theme-date-entry-date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--donkertekst);
  margin: 0 0 5px;
}
.theme-date-entry-activity {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #444;
  margin: 0 0 3px;
  font-family: 'Open Sans', sans-serif;
}
.theme-date-entry-activity:last-child { margin-bottom: 0; }
.theme-date-entry-activity .agenda-badge { width: 8px; height: 8px; margin: 0; flex-shrink: 0; }

/* ===== Maand-pillen in de oranje CTA-band (Section 5) ===== */
.agenda-month-pill {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 20px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.15s;
}
.agenda-month-pill:hover { background: rgba(255, 255, 255, 0.28); }

/* ===== Melding (bv. "nog niet beschikbaar") ===== */
.agenda-notice {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 20;
  max-width: 85%;
  background: var(--donkertekst);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* ===== Track met 3 vaste schermen (kalender / dag / detail) die tegen elkaar in schuiven ===== */
.agenda-track-viewport {
  position: relative;
  height: clamp(440px, 72vh, 620px);
  overflow: hidden;
}
.agenda-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.agenda-view {
  width: calc(100% / 3);
  flex-shrink: 0;
  overflow-y: auto;
  padding: 24px 24px 28px;
  box-sizing: border-box;
}

.agenda-view-header { padding-right: 44px; margin-bottom: 16px; }
.agenda-view-header--detail { display: flex; align-items: flex-start; gap: 12px; }

.agenda-back-btn {
  background: var(--lichtblauw);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.3rem;
  color: var(--oranje);
  cursor: pointer;
  flex-shrink: 0;
}
.agenda-back-btn:hover { background: var(--lavendel); }

/* ===== Maandnavigatie ===== */
.agenda-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.agenda-month-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0;
}
.agenda-nav-btn {
  background: var(--lichtblauw);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  color: var(--oranje);
  cursor: pointer;
}
.agenda-nav-btn:hover { background: var(--lavendel); }

.agenda-weekday-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #888;
  margin-bottom: 8px;
}

/* ===== Kalendergrid met activiteit-titels ===== */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.agenda-day-cell {
  min-height: 78px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: var(--lichtblauw);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 6px;
  font-family: 'Open Sans', sans-serif;
  cursor: default;
}
.agenda-day-cell.is-empty { visibility: hidden; }
.agenda-day-cell.is-today { border-color: var(--oranje); }
.agenda-day-cell.is-clickable { cursor: pointer; }
.agenda-day-cell.is-clickable:hover,
.agenda-day-cell.is-clickable:focus-visible { background: var(--lavendel); }
.agenda-day-num { font-weight: 700; font-size: 0.8rem; color: #333; padding-left: 2px; }

.agenda-day-activities { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.agenda-activity-chip {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Open Sans', sans-serif;
}
.agenda-activity-chip--sjefkoks { background: var(--oranje); }
.agenda-activity-chip--tweede { background: var(--groen); }
.agenda-activity-chip--sjefdag { background: var(--goud); }
.agenda-activity-chip--extra { background: var(--paars); }
.agenda-activity-chip--tbd { background: var(--grijs); }

/* ===== Dag-overzicht: grote, duimvriendelijke keuzelijst als een dag meerdere activiteiten heeft ===== */
.agenda-day-activity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--lichtblauw);
  border: none;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  transition: background 0.15s;
}
.agenda-day-activity-item:last-child { margin-bottom: 0; }
.agenda-day-activity-item:hover,
.agenda-day-activity-item:focus-visible { background: var(--lavendel); }
.agenda-day-activity-item .agenda-badge { margin-top: 0; width: 14px; height: 14px; }
.agenda-day-activity-item-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.agenda-day-activity-item-title { font-weight: 700; font-size: 1rem; color: var(--donkertekst); }
.agenda-day-activity-item-time { font-size: 0.88rem; color: #555; }
.agenda-day-activity-item-chevron { font-size: 1.4rem; color: #999; flex-shrink: 0; }

.agenda-empty-msg {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  padding: 24px 0;
}

/* ===== Activiteit-detailscherm ===== */
.agenda-badge { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; margin-top: 5px; }
.agenda-badge--sjefkoks { background: var(--oranje); }
.agenda-badge--tweede { background: var(--groen); }
.agenda-badge--sjefdag { background: var(--goud); }
.agenda-badge--extra { background: var(--paars); }
.agenda-badge--tbd { background: var(--grijs); }

.agenda-detail-activity {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.agenda-pricing {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin: 0 0 20px;
}
.agenda-pricing-circle {
  flex: 1 1 160px;
  max-width: 220px;
  background: var(--lichtblauw);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: left;
  border-top: 4px solid;
}
.agenda-pricing-circle--sjefkoks { border-color: var(--oranje); }
.agenda-pricing-circle--tweede { border-color: var(--groen); }
.agenda-pricing-circle--diner { border-color: var(--goud); }
.agenda-pricing-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  margin: 0 0 8px;
}
.agenda-pricing-circle ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #444;
}
.agenda-pricing-circle li { margin-bottom: 4px; }
.agenda-pricing-circle li:last-child { margin-bottom: 0; }

.agenda-signup-btn { display: block; text-align: center; width: 100%; }

@media (max-width: 600px) {
  .agenda-overlay { padding: 12px; }
  .agenda-modal { border-radius: 20px; max-height: 92vh; }
  .agenda-track-viewport { height: clamp(400px, 76vh, 560px); }
  .agenda-view { padding: 20px 16px 24px; }
  .agenda-day-cell { min-height: 64px; padding: 4px; }
  .agenda-activity-chip { font-size: 0.56rem; padding: 2px 4px; }
  .agenda-pricing-circle { flex-basis: 100%; max-width: none; }
  .agenda-trigger-btn span { display: none; }
  .agenda-trigger-btn { padding: 16px; border-radius: 50%; width: 68px; height: 68px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .agenda-trigger-btn { animation: none; }
}
