@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --var-FontStyledMain: "Poppins", sans-serif;

    --var-ColorBackground: #F9F6EF;
    --var-ColorDestaque: #FFC626;
    --var-ColorTerciario: #2a7c11;
    --var-ColorCardSchedule: #A5C8FF;
    --var-ColorTextBase: #161616;
    --var-ColorNeutro: #8C8C8C;
    --var-ColorNeutroClear: #cccccc;
}

*{
    border: 0px;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

body{
    background-color: var(--var-ColorBackground);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 100%;
    gap: 30px;
}

.topPublic{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    height: max-content;
    padding: 10px;
    padding-bottom: 30px;
    background-color: white;
}
.topPublic div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px
}
.containImgPerfil{
    width: 150px;
    height: 150px;
    background-color: transparent;
}
.containImgPerfil img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
}
.descPerfil{
    width: auto;
}
.nomeEstabelecimento{
    font-family: var(--var-FontStyledMain);
    font-size: 20pt;
    font-weight: 600;
    color: var(--var-ColorTextBase);
}
.containDataPerfil{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px
}
.containDataPerfil span{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--var-FontStyledMain);
    font-size: 13px;
    font-weight: 400;
    color: #8c8c8c;
}
.containDataPerfil img{
    height: 18px;
    width: 18px;
}

.formAgendar{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 100%;
    max-width: 500px;
    padding: 10px;
    gap: 50px
}
.partForm{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%;
    gap: 10px;
}
.titlePartForm{
    font-family: var(--var-FontStyledMain);
    font-size: 12pt;
    font-weight: 500;
    color: var(--var-ColorTextBase);
    padding-left: 10px;
    text-align: center;
    width: 100%;
}
.waitMode{
    align-self: center;
    font-family: var(--var-FontStyledMain);
    font-size: 11pt;
    font-weight: 400;
    color: #8c8c8c;
    text-align: center;
}
.partForm input{
    font-family: var(--var-FontStyledMain);
    font-size: 12pt;
    font-weight: 400;
    color: var(--var-ColorTextBase);
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    outline-color: var(--var-ColorDestaque);
}

.containSelect{
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: start;
    height: max-content;
    max-height: 200px;
    width: 100%;
    gap: 10px;
    overflow-y: auto;
}

.labelFormAgendar{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    gap: 20px;
    border: 1px solid transparent;
    box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.048);
    cursor: pointer;
}
.labelFormAgendar span{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 20px;
    font-family: var(--var-FontStyledMain);
    font-size: 12pt;
    font-weight: 400;
    color: #8c8c8c;
}
.containerIconSelected img{
    height: 10px;
    width: auto;
}
.labelFormAgendar input{
    scale: 0;
    display: none;
}
.labelFormAgendar:has(input:checked){
    width: 97%;
    transition: 0.5s;
    border: 1px solid var(--var-ColorDestaque);
}
.labelFormAgendar span img{
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 100%;
}

/*=======CALENDARIO======================================================================*/
#calendarAgendar {
    background-color: white;
    width: 100%;
    padding: 20px;
    border-radius: 14px;
    font-family: Inter, sans-serif;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.calendar-headerAgendar {
    font-size: 12pt;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--var-FontStyledMain);
}

.calendar-headerAgendar button {
    background: none;
    border: none;
    cursor: pointer;
}
.calendar-weekdaysAgendar,
.calendar-daysAgendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 4px;
    column-gap: 5px;
}

.calendar-daysAgendar .disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

.calendar-weekdaysAgendar div {
    font-size: 9pt;
    color: var(--var-ColorNeutro);
    font-weight: 400;
    font-family: var(--var-FontStyledMain);
}

.calendar-daysAgendar div {
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--var-FontStyledMain);
    font-size: 10pt;
    font-weight: 400;
    color: var(--var-ColorTextBase);
}
.calendar-daysAgendar div:hover {
    background: var(--var-ColorDestaque);
}

.calendar-daysAgendar .active {
    background: #FFC626;
    color: var(--var-ColorTextBase);
}

.calendar-footerAgendar {
    margin-top: 12px;
    font-weight: 500;
    font-size: 9pt;
    font-family: var(--var-FontStyledMain);
}

/*HORARIOS DISPONÍVEIS*/
.render-freeHorario{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}
.label-freeHour{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: white;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.042);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
}
.label-freeHour input{
    display: none;
}
.container-freeHour{
    font-family: var(--var-FontStyledMain);
    font-size: 10pt;
    font-weight: 500;
}
.label-freeHour:has(input:checked){
    background-color: var(--var-ColorDestaque);
}

/*BOTÃO DE CONFIRMAR AGENDAMENTO*/
#btnSaveNewScheduleLink{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 100%;
    background-color: var(--var-ColorDestaque);
    font-family: var(--var-FontStyledMain);
    font-weight: 500;
    font-size: 12pt;
    color: white;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.048);
    border-radius: 10px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.041);
    cursor: pointer;
}


/*POP COMPROVANTE*/
@keyframes show-pageComprovante {
    0%{
        border-radius: 20px;
        box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.041);
        top: 100dvh;
    }
    90%{
        border-radius: 20px;
        box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.041);
    }
    100%{
        border-radius: 0px;
        box-shadow: none;
    }
}
#popComprovante{
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100dvh;
    overflow-y: auto;
    width: 100%;
    background-color: white;
    animation-name: show-pageComprovante;
    animation-duration: 1s;
    animation-direction: normal;
}
.topComprovante{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: max-content;
    width: 100%;
    padding: 10px;
    gap: 16px;
}
.topComprovante img{
    height: 90px;
    width: 90px;
    object-fit: cover;
}
.topComprovante h1{
    font-family: var(--var-FontStyledMain);
    font-weight: 500;
    font-size: 15pt;
    color: var(--var-ColorTextBase);
    text-align: center;
}
.topComprovante p{
    font-family: var(--var-FontStyledMain);
    font-weight: 400;
    font-size: 10pt;
    color: #8c8c8c;
    text-align: center;
    margin-top: 10px;
}

/* Wrapper isolado para não afetar o h1 */
.iconWrapper {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* A imagem */
.iconWrapper img {
    width: 80px;
    height: 80px;
    z-index: 2;
    position: relative;
}

/* Ondas */
.iconWrapper::before,
.iconWrapper::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(18, 183, 106, 0.4);
    z-index: 1;
    animation: ripple 2s infinite;
}

.iconWrapper::after {
    animation-delay: 1s;
}

/* Animação */
@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.8);
        opacity: 0;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.sectionDetailsAgend{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    border-radius: 10px;
    border: 1px solid rgb(223, 223, 223);
    width: 96%;
    margin-left: 2%;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.081);
    padding: 15px;
    gap: 10px;
}
.headerDetails{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}
.headerDetails h2{
    font-family: var(--var-FontStyledMain);
    font-size: 12pt;
    font-weight: 500;
    width: 100%;
    border-bottom: 1px solid rgb(223, 223, 223);
}
.containerDetais{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%;
    gap: 10px;
}
.containerDetais span{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

.containerDetais span h3{
    font-family: var(--var-FontStyledMain);
    font-size: 10pt;
    font-weight: 600;
    color: var(--var-ColorTextBase);
}
.containerDetais span p{
    font-family: var(--var-FontStyledMain);
    font-size: 10pt;
    font-weight: 400;
    color: var(--var-ColorTextBase);
}

.containerCode{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 96%;
    padding: 10px;
    margin-left: 2%;
    gap: 10px;
    background-color: var(--var-ColorTextBase);
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.081);
}
.headerCode{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.headerCode h2{
    color: white;
    font-family: var(--var-FontStyledMain);
    font-weight: 500;
    font-size: 11pt;
    border-bottom: 1px solid rgb(100, 100, 100);
    width: 100%;
    text-align: center;
}
.boxCode{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.boxCode p{
    color: white;
    font-family: var(--var-FontStyledMain);
    font-weight: 500;
    font-size: 16pt;
    border-bottom: 1px solid rgb(100, 100, 100);
    width: 100%;
    text-align: center;
    padding: 0px 10px;
}
.footerCode{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.footerCode p{
    color: white;
    font-family: var(--var-FontStyledMain);
    font-weight: 400;
    font-size: 9pt;
    width: 100%;
    text-align: center;
    padding: 0px 10px;
    width: 100%;
    margin-top: 10px;
}

.containerDownloadComprovante{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 10px;
    width: 96%;
    margin-left: 2%;
    margin-top: 10px;
    background-color: white;
    border-radius: 10px;
    border: 1px solid rgb(223, 223, 223);
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.081);
}
.headerDownload{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    width: 100%;
}
.headerDownload h2{
    width: 100%;
    font-family: var(--var-FontStyledMain);
    font-size: 11pt;
    font-weight: 600;
    text-align: center;
    color: var(--var-ColorTextBase);
    border-bottom: 1px solid rgb(223, 223, 223);
}

.boxButtonDownload{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 100%;
    gap: 20px;
    margin-top: 10px;
}
.descDownloadComprovante{
    font-family: var(--var-FontStyledMain);
    font-size: 10pt;
    font-weight: 400;
    color: #8c8c8c;
    text-align: center;
    width: 100%;
}

#btnDownloadComprovante{
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--var-FontStyledMain);
    font-size: 11pt;
    font-weight: 500;
    color: white;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.096);
    background-color: var(--var-ColorDestaque);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 50px;
    gap: 10px;
}
#btnDownloadComprovante img{
    height: 20px;
}

.containerReturnSite{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 20px;
    width: 96%;
    margin-left: 2%;
    margin-top: 10px;
    border-top: 1px solid rgb(223, 223, 223);
    padding: 10px;
    padding-bottom: 50px;
}

.headerReturnSite h2{
    font-family: var(--var-FontStyledMain);
    font-size: 12pt;
    font-weight: 500;
    color: var(--var-ColorTextBase);
    text-align: center;
}
.headerReturnSite p{
    font-family: var(--var-FontStyledMain);
    font-size: 10pt;
    font-weight: 400;
    color: #8c8c8c;
    text-align: center;
}

#btnReturnSite{
    background-color: #efefef;
    border: 1px solid rgb(223, 223, 223);
    padding: 10px 15px;
    border-radius: 10px;
    font-family: var(--var-FontStyledMain);
    font-size: 10pt;
    font-weight: 400;
    color: var(--var-ColorTextBase);
}