/* Forgot Password — page-scoped layout parity with Sign In / Sign Up.
   Loaded only on this page (see the @push in forgot-password.blade.php),
   so Reset Password and the other auth pages are unaffected. */

/* The shared .auth-forgot block caps the page at 90rem and centres it,
   which leaves gutters on wide screens that the other auth pages don't have. */
.auth-forgot.auth-forgot-page {
    max-width: none;
    margin-inline: 0;
}

/* Desktop/laptop: use the shared left-column geometry so the form column is
   centred in the left column like the reference pages, instead of pinned. */
.auth-forgot.auth-forgot-page .auth-form-wrap {
    right: 6.25rem;
    width: auto;
    align-items: center;
}

.auth-forgot.auth-forgot-page .auth-form-wrap > * {
    max-width: 32.25rem;
}

@media (min-width: 1001px) and (max-width: 1399px) {
    .auth-forgot.auth-forgot-page .auth-form-wrap {
        right: auto;
        width: min(32.25rem, calc(50vw - 7.5rem));
    }
}

/* Tablet/mobile: single column with the panel hidden, matching the other
   auth pages, and the same padding / form-column width as Sign Up. */
@media (max-width: 1000px) {
    .auth-forgot.auth-forgot-page .auth-left {
        width: 100%;
        flex: none;
        padding: 1.5rem 1.25rem 2rem;
        gap: 28px;
    }

    .auth-forgot.auth-forgot-page .auth-form-wrap {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 516px;
        margin: 0 auto;
        align-self: center;
        gap: 1.5rem;
    }

    .auth-forgot.auth-forgot-page .auth-form-wrap > * {
        max-width: none;
    }

    .auth-forgot.auth-forgot-page .fp-panel {
        display: none;
    }
}
