/* CSS untuk kalender, list event, dan detail event */

#agenda {
/*    padding: 50px 0;*/
/*    background: linear-gradient(90deg, #4e54c8, #8f94fb); /* Warna gradasi */*/
}

/* Kontainer utama */
.container {
    max-width: 1200px;
    
}

/* Kolom kalender */
.calendar-container {
    padding: 20px;
    background-color: #f0f4f7;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    margin-right: 20px;
}

/* Kolom detail event */
.event-details {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none; /* Detail event disembunyikan awalnya */
}

/* Daftar event */
.event-list {
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    border-radius: 8px;
}

/* Item dalam daftar event */
.event-list-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
    background-color: #ffffff;
    color: #333;
}

.event-list-item:hover {
    background-color: #e6e6e6;
}

/* Gambar event tidak terdistorsi */
#eventImage {
    max-width: 100%;
    height: auto;
}

.event-time {
    display: flex;
    justify-content: space-between;
}

.event-description {
    flex-grow: 1;
}

#readMore {
    display: inline-block;
    color: #28a745;
    text-decoration: underline;
    cursor: pointer;
}

/* Kelas tambahan untuk tanggal dengan event */
.fc-daygrid-day.has-event {
    background-color: #28a745 !important;
    color: #ffffff;
}