.calendar-table,
.calendar-table th,
.calendar-table td {
    border: none !important;
}

.calendar-wrapper {
    display: flex;
    flex-direction: row;
    padding: 2rem 5% 4rem;
}

.calendar-wrapper .calendar-month {
    text-transform: capitalize;
}

.calendar-wrapper .calendar-wrapper__date {
    background-color: #177499;
    padding: 2rem;
    color: white;
    font-weight: 800;
    width: 50%;
}

.calendar-wrapper .calendar-details {
    width: 50%;
    padding: 0 1rem;
    display: flex;
}

.calendar-wrapper .calendar-details .calendar-selected-date {
    color: #177499;
    font-size: 1.3em;
    font-weight: 400;
    width: 30%;
    background-color: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
}

.calendar-wrapper .calendar-details .calendar-selected-date .date-year {
    color: #861464;
    font-weight: 600;
}


.calendar-wrapper .calendar-details .calendar-events-list {
    width: 75%;
    padding: 1rem;
}

.calendar-wrapper .calendar-details .calendar-events-list .no-event {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #861464;
    font-weight: 600;
}

.calendar-wrapper .calendar-details .calendar-events-list .event .event-title {
    color: #861464;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
    padding: 0 2rem;
}

.calendar-header button {
    background-color: unset;
    border: unset;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
}

.calendar-table th {
    padding: 0.5rem;
    font-weight: 800;
    color: white;
}

.calendar-table td {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border-radius: 50%; /* arrondi si tu veux garder l’effet bulle */
}

.calendar-table td.has-event span {
    z-index: 2;
    position: relative;
    color: white;
    font-weight: 600;
}

.calendar-table td.has-event span:before {
    content: "";
    width: 26px;
    height: 26px;
    position: absolute;
    background: #861464;
    border-radius: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

@media (max-width: 992px) {
    .calendar-wrapper {
        flex-direction: column;
    }

    .calendar-wrapper .calendar-wrapper__date {
        width: 100%;
    }

    .calendar-wrapper .calendar-details {
        width: 100%;
    }

    .calendar-wrapper .calendar-wrapper__date {
        margin-bottom: 1rem;
    }

    .calendar-wrapper .calendar-details .calendar-selected-date {
        padding: 1rem
    }

}

@media (max-width: 767px) {
    .calendar-wrapper .calendar-details {
        flex-direction: column;
    }
    .calendar-wrapper .calendar-details .calendar-selected-date {
        width: 100%;
    }
    .calendar-wrapper .calendar-details .calendar-events-list {
        width: 100%;
    }
}

