/* ==========================================================
   AGENDA FILTERS
========================================================== */

.agenda-filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.agenda-filters label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.agenda-filters input[type="checkbox"] {
    accent-color: #DA8F6D;
    cursor: pointer;
}


/* ==========================================================
   FULLCALENDAR OVERRIDES
========================================================== */

#calendar {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.5rem;
}

/* Header */
.fc-toolbar-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.fc-button {
    background: #DA8F6D !important;
    border: none !important;
    color: #fff !important;
    border-radius: 0.4rem !important;
    padding: 0.3rem 0.7rem !important;
}

.fc-button:hover {
    opacity: 0.85;
}

.fc-button:disabled {
    opacity: 0.4;
}

/* Dagen */
.fc-daygrid-day-number {
    font-size: 0.75rem;
    color: #888;
}

/* Event basis */
.fc-event {
    border: none !important;
    border-radius: 0.4rem !important;
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
    cursor: pointer;
}

/* ==========================================================
   EVENT CATEGORIE KLEUREN
========================================================== */

.event-cat-feestdag {
    background: #E8A07F !important;
}

.event-cat-besloten-feest {
    background: #6E217D !important;
}

/* Gesloten dagen / events */
.event-cat-gesloten {
    background: rgba(200, 60, 60, 0.5) !important;
}

.event-cat-gesloten .fc-event-title{
    color:black!important;
}


.event-cat-live-muziek {
    background: #2E7D32 !important;
}


/* ==========================================================
   MODAL OVERLAY
========================================================== */

#agendaModal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

#agendaModal.is-active {
    display: block;
}

.agenda-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}


/* ==========================================================
   MODAL CONTENT
========================================================== */

.agenda-modal__content {
    position: relative;
    max-width: 520px;
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    margin: 10vh auto;
    z-index: 2;
}

/* Close button */
.agenda-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

/* Title */
.agenda-modal__title {
    margin-bottom: 0.3rem;
}

/* Categories */
.agenda-modal__categories {
    font-size: 0.85rem;
    color: #6E217D;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

/* Date + time */
.agenda-modal__date,
.agenda-modal__time {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.4rem;
}

/* Description */
.agenda-modal__description {
    margin-top: 1rem;
    line-height: 1.6;
}


/* ==========================================================
   BODY LOCK (MODAL OPEN)
========================================================== */

body.modal-open {
    overflow: hidden;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 768px) {

    #calendar {
        padding: 1rem;
    }

    .agenda-modal__content {
        margin: 5vh 1rem;
        padding: 1.5rem;
    }

    .agenda-filters {
        gap: 1rem;
    }
}
