/* =============================================================
   login.css — Layout e estilos exclusivos do #modalLogin
   Componentes reutilizáveis (botões, inputs, OTP) → input.css
   ============================================================= */

/* ========================
   MODAL — Container
======================== */
.modal-login-content {
    max-width: 590px;
    min-height: 405px;
    padding: 40px 62px 32px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    justify-content: center;
}

.login__title {
    margin-bottom: 24px;
}

.modal-login-content #formTitle {
    color: var(--cinza-novo);
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0.16px;
    margin-bottom: 12px;
}

.modal-login-content #formInfo {
    color: var(--cinza);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 32px !important;
}

.modal-login-content .modal-header {
    margin-bottom: 0;
}

.modal-login-content .button-group-login {
    margin-top: 4px;
}

.modal-login-content #rowTermos {
    color: #000;
    text-align: center;
    font-size: 10px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.05px;
    margin: 0;
}

.modal-login-content #rowTermos p {
    font-size: 10px !important;
    margin: 0;
}

.modal-login-content #rowTermos a {
    color: #31D372;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.05px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.modal-login-content form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-login-content #rowForgot {
    margin: 0;
    padding-bottom: 4px;
}

/* ========================
   MODAL — Ações / OTP
======================== */
.login__actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.login__otp-error {
    color: #DA5A5A;
    font-size: 16px;
    display: block;
    font-weight: 600;
    animation: loginShake 0.45s ease both;
    margin-top: 24px;
}

@keyframes loginShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}


/* ========================
   STEP 5 — Criar Senha
======================== */
.step5 .modal__body {
    padding: 0 0 8px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.step5-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
}

.step5-img {
    width: 119px;
    height: 119px;
    object-fit: cover;
    margin-bottom: 16px;
}

.step5 .modal__title {
    font-size: 24px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 12px;
    line-height: 1.4;
}

.step5 .modal__subtitle {
    font-size: 16px;
    color: #2d2d2d;
    font-weight: 400;
    margin-bottom: 0;
    max-width: 420px;
    line-height: 1.6;
}

.modal__field-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.modal__input-label {
    font-size: 16px;
    font-weight: 500;
    color: #2d2d2d;
    margin-bottom: 8px;
    display: block;
}

.modal__input {
    width: 100%;
    height: 48px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    background: #fff;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #2d2d2d;
    outline: none;
    transition: border-color 0.2s;
}

.modal__input::placeholder {
    color: #cecece;
}

.modal__input:focus {
    border-color: rgba(255, 183, 77, 0.7);
}

.step5 .modal__actions {
    justify-content: center;
}

.btn--orange-center {
    background-color: #ffb74d;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 192px;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn--orange-center:hover {
    opacity: 0.88;
}

.modal-content button.close {
    width: 32px;
    height: 32px;
    padding-bottom: 2.5px;
    right: 16px;
    border: none;
}

@media (max-width: 769px) {
    .modal-login-content {
        padding: 24px 16px 16px;
    }

    .modal-login-content #formTitle {
        font-size: 24px;
    }

    .modal-login-content #formInfo {
        font-size: 14px;
    }

    .modal-login-content #formTitle{
        max-width: 80%;
    }
}

#modalLogin{
    z-index: 999999;
}