.lista-eventos-filtro {
    position: relative;
    min-height: 200px;
}

.lista-eventos-filtro.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.lista-eventos-filtro.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0AE64C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 11;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Estilos da paginação */
.pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-button:hover {
    background-color: #f3f3f3;
}

.pagination-button.active {
    background-color: #0AE64C;
    color: white;
}

/* Responsivo */
@media (max-width: 768px) {
    .pagination-button {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }
}

/* Estilos da modal */
.modal-eventos {
    display: none;
}

.modal-eventos .modal-content {
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.modal-eventos.active .modal-content {
    transform: scale(1);
}

.modal-eventos .overlay {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal-eventos.active .overlay {
    opacity: 1;
}

.modal-eventos .fechar-modal {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-eventos .fechar-modal:hover {
    background: #f3f3f3;
}

/* Ajuste para o scroll da modal em telas menores */
@media (max-width: 768px) {
    .modal-eventos .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
}

/* Estilos para a galeria de eventos */
#evento-gallery-modal {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#evento-gallery-modal:not(.hidden) {
    opacity: 1;
}

.evento-galeria-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.evento-galeria-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
}

.evento-galeria-carousel .owl-dots .owl-dot.active {
    background-color: white;
    transform: scale(1.2);
}

#prev-gallery-image, #next-gallery-image {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#prev-gallery-image:hover, #next-gallery-image:hover {
    opacity: 0.8;
    transform: translateY(-50%) scale(1.1);
}

#gallery-counter {
    font-size: 14px;
    opacity: 0.8;
}

/* Estilos para os controles de navegação do Owl Carousel */
.evento-galeria-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    margin-top: 0;
    display: flex;
    justify-content: space-between;
}

.evento-galeria-carousel .owl-nav button.owl-prev,
.evento-galeria-carousel .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    transition: all 0.2s ease;
}

.evento-galeria-carousel .owl-nav button.owl-prev {
    left: -60px;
}

.evento-galeria-carousel .owl-nav button.owl-next {
    right: -60px;
}

.evento-galeria-carousel .owl-nav button.owl-prev:hover,
.evento-galeria-carousel .owl-nav button.owl-next:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    transform: scale(1.1);
}

.evento-galeria-carousel .owl-nav svg {
    width: 24px;
    height: 24px;
    color: white;
}

.evento-galeria-carousel .owl-dots {
    position: absolute;
    bottom: -30px;
    width: 100%;
    text-align: center;
}

.evento-galeria-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4) !important;
    transition: all 0.2s ease;
}

.evento-galeria-carousel .owl-dots .owl-dot.active {
    background-color: white !important;
    transform: scale(1.2);
}

#evento-gallery-modal {
    z-index: 999999;
}

#close-gallery-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#close-gallery-modal:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

#gallery-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: white;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .evento-galeria-carousel .owl-nav button.owl-prev {
        left: 10px;
    }
    
    .evento-galeria-carousel .owl-nav button.owl-next {
        right: 10px;
    }
} 