/* Estilize a checkbox oculta */
.switch input {
    display: none;
}

.scroll-meses {
    overflow-x: scroll;
    overflow-y: hidden;
    display: flex;
    justify-content: flex-start;
}

.scroll-agenda {
    display: flex;
    width: auto;
    overflow-x: scroll;
    white-space: nowrap;
    padding: 0;
    margin: 0;
}

/* Estilize o controle deslizante da checkbox */
.switch .slider {
    position: absolute;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #000;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 34px;
    width: 50px;
    height: 18px;
}

/* Estilize a aparência do controle deslizante quando a checkbox está marcada */
.switch input:checked+.slider {
    background-color: #61FF00;
}

/* Estilize o botão deslizante (alça) */
.switch .slider::before {
    position: absolute;
    content: "";
    top: -5px;
    left: -3px;
    height: 28px;
    width: 28px;
    bottom: 4px;
    background-color: #d5d5d5;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 50%;
}

/* Estilize o botão deslizante quando a checkbox está marcada */
.switch input:checked+.slider::before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.rotation {
    transform: rotate(180deg);
}

.container-agenda {
    min-height: 60px;
    min-width: 263px;
    height: auto;
    padding: 10px 0;
    background-color: #fff;
    margin: 1rem 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.20);
    background: #F5F5F5;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

.card-produto {
    padding: 7px 10px;
    margin: 10px 0;
    border-radius: 14px;
    border: 1px solid #d5d5d5;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    color: #3A3A3A;
    background-color: #fff;
    font-size: 15px;
}

.card-produto h4 {
    font-size: 1rem;
    white-space: break-spaces;
}

.card-mes {
    padding: 0 0.4rem;
    margin-bottom: 0;
    background-color: #fff !important;
    border: 1px solid #000;
    border-radius: 12px;
    color: #000;
    min-height: 60px;
    letter-spacing: 0.06rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-mes img {
    width: 30px;
}

.close-modal {
    width: 40px;
    height: 40px;
    color: #000;
    opacity: 1;
}

.close-modal span {
    border: 2px solid #000000;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section {
    width: 50%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-dialog {
    max-width: 750px;
    width: auto;
}

.modal-content {
    border-radius: 18px;
}

.calendar {
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0px;
    text-align: center;
}

.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 10px;
    gap: 20px;
    padding: 10px;
}

.header button {
    background-color: transparent;
    border: none;
    font-size: 24px;
}

.header h3 {
    text-align: center;
    padding: 0;
    margin: 7px 0 0 0;
    color: #000;
    font-size: 16px;
    text-transform: capitalize;
    user-select: none;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0px;
    color: #898989;
}

.day {
    padding: 5px 10px;
}

.dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.date,
.date-disabled {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px;
    margin: 2px auto;
    user-select: none;
}

.date-disabled {
    pointer-events: none;
    background-color: #ababab;
    border-radius: 50%;
    color: #fff;
}

.date:hover {
    color: #fff;
    border-radius: 50%;
    background-color: #008ed3;
}

.current-month {
    font-weight: bold;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.selected-date {
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    background-color: #008ed3;
}

.card-agendamento {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 12px;
    padding: 16px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.30);
}

.card-agendamento span {
    max-width: 190px;
}

.card-agendamento label{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.card-agendamento .container-quantidade {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.card-agendamento select {
    width: 110px;
}

.card-agendamento input[type='text'] {
    width: 140px;
}

.card-agendamento input[type='checkbox'] {
    width: 18px;
    cursor: pointer;
}

.card-agendamento input[type='checkbox']:focus {
    box-shadow: none;
}

.card-agendamento span {
    flex: 1;
}

#list-products {
    height: auto;
    padding: 30px 10px;
    padding-top: 0;
}