/* Estilo do container do calendário */
#wpe-calendar-container {
    margin-top: 30px;
    height: 100%;
}
.fc .fc-toolbar-title {
    text-transform: capitalize;
}
.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    min-height: none!important;
    
}

.fc .fc-scrollgrid-liquid {
    height: 125%;
}
/* Estilo do Popup (Modal) */
.wpe-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wpe-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.wpe-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.wpe-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888;
}

#wpe-modal-title {
    margin-top: 0;
    margin-bottom: 15px;
}

#wpe-modal-body p {
    margin: 0 0 10px;
}

/* =================================================================== */
/* CORREÇÃO PARA ALTURA AUTOMÁTICA DA SEÇÃO DO CALENDÁRIO              */
/* =================================================================== */

.secao-calendario-ajuste.elementor-section {
    height: auto !important;
    min-height: unset !important;
}

/* Garante que o container do widget também não tenha altura fixa */
.secao-calendario-ajuste .elementor-widget-container {
    height: auto !important;
    min-height: unset !important;
}
/* =================================================================== */
/* CORREÇÃO PARA O RODAPÉ (FOOTER) QUE COBRE O CALENDÁRIO              */
/* =================================================================== */

/* Adiciona um espaço extra no final da área do calendário */
#wpe-calendar-app {
    padding-bottom: 200px; /* Ajuste este valor se necessário */
}

/* Garante que o calendário tenha uma "camada" de posicionamento */
#wpe-calendar-container {
    position: relative;
    z-index: 1;
}