html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Segoe UI", Roboto, sans-serif;
}

.dhx_cal_container {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dhx_month_body {
    min-height: 80px !important;
}

.dhx_cal_container {
    height: 600px !important;
}

/* Popup */
#ventanaModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

#ventanaModal .modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease;
}

#ventanaModal img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

#ventanaModal h2 {
    margin: 0 0 8px;
    color: #333;
    font-size: 1.3rem;
}

#ventanaModal p {
    color: #555;
    margin: 6px 0;
}

.dhx_year_tooltip {
    display: none;
}

@media (max-width: 991.98px) {
    .dhx_month_body {
        height: 60px !important;
    }

    .dhx_cal_container {
        height: 540px !important;
    }

    .dhx_cal_prev_button {
        right: 100px;
    }

    .dhx_cal_today_button {
        right: 45px;
        width: 50px;
    }

    .dhx_cal_prev_button, .dhx_cal_next_button, .dhx_cal_today_button, .dhx_cal_tab, .dhx_cal_tab {
        margin-top: -10px;
    }

    .dhx_cal_date, .dhx_cal_scale_placeholder {
        margin-top: 30px;
    }

    .dhx_cal_header {
        top: 80px !important;
    }

    .dhx_cal_data {
        padding-top: 0px;
        top: 120px !important;
    }
}

.contenedor {
    display: flex;
    justify-content: space-between;
    /* separa izquierda y derecha */
    /* centra verticalmente el contenido izquierdo */
}

.izquierda {
    flex: 0 0 auto;
    text-align: left;
}

.derecha {
    padding-left: 10px;
    display: flex;
    flex: 1;
    flex-direction: column;
    /* apila los spans verticalmente */
    /* alinea los spans a la derecha */
    gap: 5px;
    /* espacio entre los spans */
}