/* =========================================================
   CUSTOMER AUTH PAGES — ISOLATED DESKTOP LAYOUT
   This file intentionally targets only .auth-page-container
   so it cannot affect cart, menu, orders, store picker, etc.
   ========================================================= */

@media (min-width: 1100px) {
    html:has(.auth-page-container),
    body:has(.auth-page-container) {
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    main.auth-page-container {
        /* Override the generic desktop main rule from app.css. */
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: calc(100vh - 70px) !important;
        margin: 0 !important;
        padding: 36px 24px 48px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
    }

    main.auth-page-container > .auth-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
}

/* Keep the existing mobile auth styling untouched. */
@media (max-width: 1099px) {
    main.auth-page-container {
        width: auto;
        max-width: none;
    }
}
