.calendar {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.horario {
    transition: 0.5s;
    background: var(--color-s3);
    color: var(--color-s1);
    border: 1px dashed var(--color-s1);
}
.horario.selecionado {
    background: var(--color-s1);
    color: var(--color-1);
}
.horario:hover {
    background: var(--color-s1);
    color: var(--color-1);
    cursor: pointer;
}
.calendar_left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 400px;
    background: var(--color-s1);
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
    padding: 1.5em;
    z-index: 1;
    border-radius: 10px;
    height: 420px;
}

.calendar_left .header {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2em;
    color: #fff;
    font-size: 0.7em;
}

.calendar_left .header h1 {
    line-height: 1em;
}

.calendar_left .header i {
    cursor: pointer;
}

.calendar_right {
    background: #fff;
    max-width: 350px;
    width: 100%;

    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    position: relative;
    /*  transform: scale(0.95) translateX(-40px); */
    z-index: 0;
}

.calendar_right .list {
    border: 1px dashed #5b5de0;
    height: 420px;
    overflow-y: scroll;
    padding: 1em;
    border-radius: 10px;
}

.calendar_right .list ul {
    padding: 2.25em;
}

.calendar_right .list li {
    padding: 1em;
    width: 180px;
    color: #fff;
    transform: translateX(-700px);
}

.calendar_right .list .description {
    font-size: 12px;
}

.calendar_right form {
    position: absolute;
    bottom: 0;
    display: flex;
    width: 100%;
    flex-flow: row wrap;
}

.calendar_right form input {
    background: #5b5de0;
    border: none;
    padding: 1.2em;
    flex: 2;
    outline: none;
    color: #fff;
    border-bottom-right-radius: var(--radius);
}

.calendar_right form select {
    background: #5b5de0;
    border: none;
    padding: 1.2em;
    outline: none;
    color: #fff;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: var(--radius);
    appearance: none;
}

.days {
    display: flex;
    justify-content: flex-start;
    width: 400px;
}

.days .day_item {
    color: #fff;
    width: 50px;
    text-align: center;
    padding-bottom: 1em;
}

.dates {
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
    width: 100%;
}

.dates .date_item {
    font-weight: bold;
    color: #e0e0e0;
    width: 50px;
    text-align: center;
    height: 50px;
    padding: 1em;
    cursor: pointer;
    border-radius: 100%;
}

.dates .date_item.disabled {
    cursor: not-allowed;
    color: #8b8b8b;
}

.previous-month {
    color: #8b8b8b !important;
    /* Cor mais clara para os dias do mês anterior */
    pointer-events: none !important;
    /* Não permite interação com esses dias */
}

.present {
    background: #fff;
    transform: scale(0.7);
    border-radius: 50px;
    padding: 0.95em !important;
    color: var(--color-s1) !important;
    z-index: 0;
    box-shadow: 5px 5px 5px #5b5de0;
    animation: bounce-button-in 0.45s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275)
        forwards;
}

/* Browser Specific Overwrites */
/* ::-webkit-scrollbar {
    display: none;
} */

/* Animations */
.bounce-in.ng-animate {
    animation: none 0s;
}

.bounce-in {
    animation: bounce-in 0.9s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275)
        forwards;
}

@keyframes bounce-in {
    50% {
        transform: translateX(0);
    }

    75% {
        transform: translateX(7px);
    }

    100% {
        transform: translateX(2px);
    }
}

@keyframes bounce-button-in {
    0% {
        transform: translateZ(0) scale(0);
    }

    100% {
        transform: translateZ(0) scale(0.7);
    }
}

@media (max-width: 768px) {
    .calendar {
        flex-direction: column;
        align-items: start;
    }

    .calendar_right {
        max-width: none;
    }
}

@media (max-width: 480px) {
    /*   #calendar-wrapper {
        max-width: 340px;
        overflow-x: scroll;
    } */
    .calendar_left {
        /*  display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 400px;
        background: var(--color-s1);
        border-top-left-radius: var(--radius);
        border-bottom-left-radius: var(--radius);
        padding: 1.5em;
        z-index: 1;
        border-radius: 10px; */
        height: auto;
    }

    .dates .date_item {
        min-width: max-content;
    }

    .days {
        display: grid;
        grid-template-columns: auto auto auto auto auto auto auto;
        min-width: max-content;
        width: 100%;
        font-size: 0.6rem;
    }
    .dates .date_item {
        font-weight: bold;
        color: #e0e0e0;
        width: 40px;
        text-align: center;
        height: 40px;
        padding: 1em;
        cursor: pointer;
        border-radius: 100%;
    }
    .days {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .dates {
        display: grid;
        grid-template-columns: auto auto auto auto auto auto auto;
        width: 100%;
        font-size: 0.6rem;
    }

    .days .day_item {
        color: #fff;
        width: 30px;
        text-align: center;
        padding-bottom: 1em;
    }
}

@media (max-width: 480px) {
    #monthYear {
        font-size: 0.8rem;
    }

    .days {
        font-size: 0.6rem;
    }

    .dates {
        font-size: 0.8rem;
    }

    .calendar_left #prevBtn {
        font-size: 0.8rem !important;
    }

    .calendar_left #nextBtn {
        font-size: 0.8rem !important;
    }

    .present {
        transform: none;
        animation: none;
    }
}

@media (max-width: 410px) {
    .dates .date_item {
        min-width: max-content;
    }

    .days {
        display: grid;
        grid-template-columns: auto auto auto auto auto auto auto;
        min-width: max-content;
        width: 100%;
        font-size: 0.6rem;
    }
    .dates .date_item {
        font-weight: bold;
        color: #e0e0e0;
        width: 40px;
        text-align: center;
        height: 40px;
        padding: 1em;
        cursor: pointer;
        border-radius: 100%;
    }
    .days {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .dates {
        display: grid;
        grid-template-columns: auto auto auto auto auto auto auto;
        width: 100%;
        font-size: 0.8rem;
    }

    .days .day_item {
        color: #fff;
        width: 20px;
        text-align: center;
        padding-bottom: 1em;
    }
    .present {
        background: #fff;
        border-radius: 50px;
        transform: none;
        padding: 0.95em !important;
        color: var(--color-s1) !important;
        z-index: 0;
        box-shadow: none;
        animation: none;
    }
}

.btn:disabled {
    border-color: transparent !important;
}
