﻿* {
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
}

html, body {
    height: 100dvh;
    min-height: 680px;
    overflow-x: hidden;
    clip-path: inset(0 0 0 0);
}

body {
    background-color: #F6F2EF;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative !important;
}

input[type=text], input[type=date] {
    box-sizing: border-box !important;
    background-color: #F6F2EF !important;
    padding: 20px 0 !important;
    border: 1px solid rgba(0,0,0,0.15) !important;
    border-radius: 5px !important;
    font-size: 24px !important;
    font-weight: bold !important;
}

input[type=text]:focus, input[type=date] {
    border: 1px solid rgba(0,0,0,0.15) !important;
}

.background-superior {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    width: 100%;
    height: 38dvh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -999;
}
.mbnone {
    margin-bottom: 0px !important;
}
.logo-sac-varejo {
    position: absolute;
    bottom: -60px;
    /*
    margin-bottom: 1em;
    left: 50%;
    transform: translateX(-50%);*/
    max-width: 150px;
    max-height: 150px;
    align-self: center;
}

.sv-fundo {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color)) !important;
    transition: opacity .3s ease;
}

.sv-fundo > span {
    transition: opacity .3s ease;
    font-weight: bold;
    background: #ffffff;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%
}

.btn.disabled > span {
    opacity: .6;
}

.btn.disabled {
    opacity: .9;
}

#title {
    font-weight: bold;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
    margin-block: 1em;
    background: #ffffff;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.btn-prev {
    color: rgba(0,0,0,0.5);
    background-color: #F6F2EF;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.btn-next {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.form {
    padding: 24px;
    min-height: 38dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.half-container {
    width: 50%;
}

.form-group-btn {
    display: flex;
    width: 100%;
    gap: 16px;
}

.form-label {
    color: rgba(0,0,0,0.4);
    font-weight: bold;
}

.personInfo {
    margin-block: 32px;
    width: 100%;
}

.personInfo ul {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.personInfo ul li:not(:last-child) {
    border-bottom: 1px solid #ccc;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.personInfo ul li {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 16px;
    color: rgba(0,0,0,0.5);
    width: 100%;
}

.personInfo ul li span {
    width: 50%;
    display: flex;
    align-items: center;
    gap: 4px;
}

#profileImg {
    border-radius: 50%;
    border: 5px solid #FFFFFF;
    background-size: cover;
    background-position: center;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
}

#profilePlaceholderImg {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
}

#btnGroupPicture {
    z-index: 1000;
    position: absolute;
    bottom: 15vh;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    justify-content:space-around;
    padding: 16px;
    gap: 8px;
    width: 100dvw;
}

#btnGroupPicture button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}


.section {
    width: 100vw;
    padding: 1em;
}
.section_none{
    visibility:hidden;
}

.invalid-photo {
    border: 5px solid #E04F5F;
}
.load-photo {
    position: relative;
    padding: 5px;
    background: var(--secondary-color);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}
.valid-photo {
    border: 5px solid #00BA00;
}
.centralize-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    z-index: 1000;
    display: none;
    width: 100%;
    text-align: center;
    color: white;
    text-shadow: 0px 0px 5px black, 0px 0px 10px black; 
}

#birthDateInput {
    width: 100%;
    display: block;
    box-sizing: border-box;
}
.loading-spinner {
    animation: spin 1s linear infinite;
    background: var(--secondary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

