/* =========================================================
   Password recovery (COM-07 / PRO-03): Figma «00.2 OLVIDO CONTRASEÑA» (1394-4332 ask for the link,
   1394-4381 link sent) and «Introduce una nueva contraseña» (1394-4411). Phones only in Figma: from 768px they
   take the card of the desktop login. Header, card, title and logos: shared/css/access-page.css.
   ========================================================= */

/* Grey labels 4px above their field in Figma, instead of the black ones 8px above of the login. */
.password-reset__field {
    gap: var(--token-space-1);
}

.password-reset__text {
    font-size: 16px;
    font-weight: var(--token-font-weight-medium);
    line-height: 21px;
    color: var(--font-color-mobile-description);
}

/* «Enlace enviado»: the two paragraphs one blank line apart. */
.password-reset__texts {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

/* Two balanced lines, as in Figma. */
.password-reset__title {
    max-width: 294px;
    align-self: center;
}

/* «¿Has recordado tu contraseña? Inicia sesión», on two lines aligned to the right. */
.password-reset__login {
    font-size: 16px;
    font-weight: var(--token-font-weight-medium);
    line-height: 21px;
    color: var(--font-color-mobile-description);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.password-reset__login-link {
    font-weight: var(--token-font-weight-bold);
    color: var(--font-color-link-mobile);
    text-decoration: underline;
}

.password-reset__status {
    font-size: var(--token-font-size-s);
    line-height: 21px;
    color: var(--font-color-mobile-description);
    display: block;
    text-align: center;
}

.password-reset__status:empty {
    display: none;
}

/* display: flex of the card would override the hidden attribute. */
.password-reset[hidden] {
    display: none;
}

.password-reset:focus {
    outline: none;
}

/* The phone frames have no logos. */
.password-reset__footer {
    display: none;
}

/* =========================================================
   Desktop (from 768px): card of the login, as the registration
   ========================================================= */

@media (min-width: 768px) {
    .password-reset__text,
    .password-reset__login {
        font-size: var(--token-font-size-s);
    }

    .password-reset__footer {
        display: flex;
    }
}
