/* --- MODAL POPUP LEAFLET --- */
.event-slide {
    cursor: pointer; /* Indikator bahwa slider event bisa diklik */
}

.event-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.event-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease-in-out;
}

.event-modal-content img {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
    z-index: 10000;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- BUTTON & MODAL LIST ACARA --- */
.btn-event-category {
    background-color: #0e533f;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.btn-event-category:hover {
    background-color: #1a73e8;
    transform: translateY(-1px);
}

.list-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

.list-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #0e533f;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.list-modal-header h3 {
    margin: 0;
    color: #0e533f;
    font-size: 16px;
}

.event-list-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-list-item:hover {
    background: #e8f0fe;
    border-color: #1a73e8;
    transform: translateX(3px);
}

.event-info h4 {
    margin: 0 0 4px 0;
    color: #222;
    font-size: 13px;
}

.event-info p {
    margin: 0;
    font-size: 11px;
    color: #666;
}

.badge-time {
    background: #0e533f;
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: bold;
    white-space: nowrap;
}