/* El viewport del carrusel */
#calendar-wrapper {
    position: absolute;
    top: 99%;
    left: 15px;
    width: 652px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 2px 2px 20px #00000042,
                -2px -2px 20px #00000042;
    overflow: hidden;
    z-index: 100;
}

/* Contenedor interno que se desplazará */
#calendar {
    transition: transform 0.5s ease;
}

.calendar{
    display: flex;
    width: 100%;
    color: #676b70;
    z-index: 100;
}

.calendar__el{
    min-width: 326px;
    padding: 10px;
}

.calendar__month{
    display: flex;
    justify-content: space-between;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    color: #16191c;
}

.calendar__a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 18px;
    border-radius: 50%;
    color: #676b70;
}

.calendar__a.calendar__active-r,
.calendar__a.calendar__active-l{
    box-shadow: 0px 2px 3px #00000046;
    cursor: pointer;
}

.calendar__el:first-child .calendar__a,
.calendar__el:last-child .calendar__a{
    visibility: hidden;
}

.calendar__year{
    font-size: 14px;
    font-weight: 400;
    color: #676b70;
}

.calendar__days{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar__day{
    padding: 5px 0;
    font-size: 12px;
    text-align: center;
}

.calendar__day-number{
    padding: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0);
}

.calendar__day-number.disabled{
    font-style: italic;
    color: #94979c;
}

.calendar__day-number.current{
    color: #186cdf;
}

.calendar__day-number.selected{
    color: #fff;
    background-color: #2196f3;
}

.calendar__day-number.ultima-seleccionada {
    background-color: red;
}

.calendar__day-number.selected:hover{
    color: #fff;
}

.calendar__day-number.passing{
    border-radius: unset;
    border-top-color: #fff;
    border-bottom-color: #fff;
    background-color: #cce0ff;
}

.calendar__day-number:hover{
    border-color: #2196f3;
    color: #2196f3;
}

.calendar__day-number.disabled:hover{
    border-color: rgba(0, 0, 0, 0);
    color: #94979c;
}

@media screen and (max-width: 480px) {
    .calendar__el:first-child .calendar__a,
    .calendar__el:last-child .calendar__a{
        visibility: visible;
    }

    .calendar__el:first-child .calendar__month .calendar__a:first-child,
    .calendar__el:last-child .calendar__month .calendar__a:last-child{
        visibility: hidden;
    }
}