/* RECUPERACIÓN CONTRASEÑA */
@import url("../../../shared/css/core/reset.css");
@import url("../../../shared/css/core/variables.css");
@import url("../../../shared/css/style.css");

.body.reset_password {
    width: 100%;
    /* Background-border */
    background-color: var(--background-login);
    /* Display */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form_reset_password {
    /* Size */
    width: 448px;
    /* Background-border */
    background-color: var(--pure-white);
    border-radius: 4px;
    /* Margin-padding */
    padding: 32px 60px;
    /* Display */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.form_title_box {
    /* Display */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form_title {
    /* Font */
    color: var(--dark_grey);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.form_title.centered {
    /* Font */
    text-align: center;
}

.form_text_box {
    /* Display */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form_text {
    /* Font */
    color: var(--dark_grey);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
}

.inputs_box {
    /* Size */
    width: 100%;
}

.label_input_box {
    width: 100%;
}

/* Icon */
.toggle_password {
    cursor: pointer;
    /* Size */
    width: 24px;
    height: 100%;
    /* Background-border */
    background: transparent;
    /* Display */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Position */
    position: absolute;
    top: 0;
    right: 16px;
}

.form_submit_box {
    /* Size */
    width: 100%;
    /* Display */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link_box {
    /* Font */
    text-align: center;
    /* Size */
    width: 100%;
    /* Display */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link {
    /* Font */
    color: var(--link-font-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    /* Display */
    float: right;
}

.link:not(.disabled):hover,
.link:not(.disabled):active {
    /* Font */
    color: var(--hover-link-font-color);
}

.spinner_box {
    /* Display */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.spinner_icon {
    /* Size */
    width: 32px;
    height: 32px;
    /* Animation */
    animation: spin 1.6s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .main {
        /* Size */
        width: 100%;
        /* Margin-padding */
        padding: 0 24px 24px 24px;
    }

    .form_reset_password {
        /* Size */
        width: 100%;
        /* Margin-padding */
        padding: 32px 24px;
    }

    .form_title {
        /* Font */
        font-size: 20px;
        letter-spacing: normal;
    }

    .form_reset_password .input,
    .form_reset_password .input::placeholder {
        /* Font: evita el zoom automático de iOS al enfocar */
        font-size: 16px;
    }

    .form_reset_password .button {
        /* Size */
        min-height: 48px;
        /* Font */
        font-size: 16px;
    }
}
