/* #region  text-forgot*/
#text-forgot {
    color: var(--letter-login-left-cor);
    text-decoration: none;
    font-size: 0.8vw;
    margin-left: 1.3vw;
    text-decoration: none;
    top: 25vw;
}
/* #endregion */

/* #region ArrowLeft_Icon */
#ArrowLeft_Icon {
    width: 1.6vw;
    height: auto;
    margin-left: 1.6vw;
    margin-right: 0.5vw;
    margin-bottom: 0.15vh;
}
/* #endregion */

/* #region button"voltar" */
.popup .close {
    position: absolute;
    margin-top: 5vh;
    margin-left: 2.5vw;
    top: 0;
    left: 0;
    font-size: 1.1vw;
    text-decoration: none;
    color: rgba(130, 130, 130, 1);
}

    .popup .close a {
        text-decoration: none;
    }

    .popup .close:hover {
        font-weight: bolder;
    }
/* #endregion */

/* #region title-popup*/

.popup h3 {
    margin-top: 5vh;
    margin-bottom: 3vh;
    text-align: left;
    color: var(--letter-login-cor);
}

/* #endregion */

/* #region content p*/
.popup .content p {
    text-align: left;
}
/* #endregion */

/* #region content h5*/
.popup .content h5 {
    margin-top: 3vw;
    font-size: 1vw;
    text-align: left;
    color: var(--letter-login-cor);
}
/* #endregion */

/* #region content button*/
.popup .content button {
    margin-top: 2vh;
    width: 12vw;
    height: 5vh;
    border-radius: 0.5vw;
    background-color: rgba(0, 42, 76, 0.5);
    border: none;
    color: white;
}

    .popup .content button:hover {
        background: linear-gradient(90deg, rgba(51, 38, 219, 1), rgba(62, 117, 244, 1));
    }
/* #endregion */

/* #region adjustments popup*/
.popup {
    margin: 8vw auto;
    padding: 4vw;
    background: #fff;
    border-radius: 2vw;
    width: 50vw;
    height: 60vh;
    position: relative;
    transition: all 0s ease-in-out;
    color: rgba(130, 130, 130, 1);
}

.overlay1 {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

    .overlay1:target {
        visibility: visible;
        opacity: 1;
    }
/* #endregion */

/* #region  popup1*/
.popup .content .input-popou1 {
    text-align: left;
    width: 100%;
    height: 7vh;
    margin-left: 0;
    border-radius: 0.3vw;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    background-color: rgba(250, 250, 250, 1);
    border: 1px solid rgba(234, 234, 234, 1);
}

    .popup .content .input-popou1::placeholder {
        text-align: left;
        padding-left: 1.5vw;
        font-size: 1vw;
        color: rgba(155, 173, 202, 1);
    }
/* #endregion */

/* #region  popup2*/
.overlay2 {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    opacity: 0;
}

    .overlay2:target {
        visibility: visible;
        opacity: 1;
    }

.verification-code {
    display: flex;
    margin-top: 3vh;
    margin-left: 11vw;
}

    .verification-code input {
        width: 8vw;
        height: 8vh;
        text-align: center;
        font-size: 1.5vw;
        border: 1px solid #ccc;
        border-radius: 0.3vw;
        margin-left: 6vw;
    }

#popup2 .content .timer {
    color: red;
    text-align: center;
    margin-top: 1vh;
    font-size: 0.9vw;
    font-family: Calibri;
}

.resend-code {
    display: block;
    margin-top: 2vh;
    margin-left: 17.1vw;
    font-size: 0.9vw;
    color: #233785;
    text-decoration: none;
    text-align: center;
    border: none;
    background-color: white;
}

    .resend-code:hover {
        text-decoration: underline;
    }

.disabled-button {
    color: #666666;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}
/* #endregion */

/* #region popup3 */
.overlay3 {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    opacity: 0;
}

    .overlay3:target {
        visibility: visible;
        opacity: 1;
    }

#popup3 .popup .content .input-popup3 {
    text-align: left;
    width: 33vw;
    height: 6vh;
    margin-left: 0vw;
    border-radius: 0.3vw;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    border-color: rgba(234, 234, 234, 1);
    box-shadow: none;
    outline: none;
    background-color: rgba(250, 250, 250, 1);
    color: var(--letter-login-cor);
}

    #popup3 .popup .content .input-popup3::placeholder {
        text-align: left;
        padding-left: 1.5vw;
        font-size: 1vw;
        color: rgba(155, 173, 202, 1);
    }

#popup3 p {
    text-align: left;
    margin-top: 0;
}

#popup3 h5 {
    margin-top: 0;
    margin-left: 9.5vh;
}

#popup3 .input-group {
    width: 35vw;
    top: 0;
    margin-top: 0;
    margin-bottom: 1vw;
}

#popup3 h6 {
    text-align: left;
    margin-left: 4.5vw;
    margin-bottom: 0;
    color: var(--letter-login-cor);
    font-size: 0.9vw;
}

.toggle-password {
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-left: -35px;
}

/* #endregion */

/* #region  popupSuccess*/
.overlaySuccess {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    opacity: 0;
    transition: opacity 500ms;
}

    .overlaySuccess:target {
        visibility: visible;
        opacity: 1;
    }

.success-icon img {
    width: 10vw;
    height: auto;
    margin-bottom: 1vw;
}

#popupSuccess h1 {
    color: rgba(39, 174, 96, 1);
}

#popupSuccess p {
    color: rgba(0, 0, 0, 1);
    font-size: 0,5vw;
    opacity: 0.7;
}

#continueButton {
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(90deg, rgba(51, 38, 219, 1), rgba(62, 117, 244, 1));
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

/* #endregion */


.overlay1, .overlay2, .overlay3, .overlaySuccess {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
}

    /* Ao adicionar a classe .show, tornamos o popup visível */
    .overlay1.show, .overlay2.show, .overlay3.show, .overlaySuccess.show {
        visibility: visible;
        opacity: 1;
    }

.show {
    display: block; /* Exibe o pop-up quando a classe "show" está presente */
}

/* #region Loading*/
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; 
    visibility: hidden; 
    opacity: 0;
    transition: opacity 0.3s;
}

/* Spinner de carregamento */
.spinner {
    width: 3vw;
    height: 3vw;
    border: 0.3vw solid #ffffff;
    border-top: 0.3vw solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1vw;
}

/* Texto de carregamento */
.loading-screen p {
    color: #ffffff;
    font-size: 1.2em;
    margin-left: 1vw;
}

/* Animação do spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Exibe a tela de carregamento */
.loading-screen.show {
    visibility: visible;
    opacity: 1;
}
/* #endregion */

/* Estilo para o botão inativo */
.disabled-button {
    background-color: gray;
    cursor: not-allowed;
}

/* Estilo para o botão ativo */
.active-button {
    background: linear-gradient(90deg, rgba(51, 38, 219, 1), rgba(62, 117, 244, 1));
    cursor: pointer;
}
