/* Pie comun a los dos paneles, en el flujo de la pagina. */
body:has(.login-page-footer) {
    overflow-y: auto;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
body:has(.login-page-footer) .hotel-login-shell {
    height: auto !important;
    min-height: 0 !important;
    flex: 1 0 auto;
    padding-top: 72px !important;
    overflow: visible;
    box-sizing: border-box;
}
body:has(.login-page-footer) .hotel-login-story,
body:has(.login-page-footer) .hotel-login-access {
    min-height: 0;
}
.login-page-footer {
    position: static;
    width: 100%;
    min-height: 60px;
    flex: 0 0 auto;
    padding: 18px 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--app-border);
    background: var(--app-surface);
    color: var(--app-muted);
    text-align: center;
}
.login-page-footer p {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
}

/* El contenido determina su altura; el espacio libre queda entre los paneles. */
body:has(.login-page-footer) .hotel-login-shell > section {
    min-width: 0;
}
@media (max-width: 900px) {
    body:has(.login-page-footer) .hotel-login-shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
    }
    body:has(.login-page-footer) .hotel-login-story {
        padding: 20px 24px !important;
    }
    body:has(.login-page-footer) .hotel-login-copy h1 {
        margin: 12px 0 10px !important;
        font-size: clamp(24px, 5vw, 34px) !important;
    }
    body:has(.login-page-footer) .hotel-login-access {
        padding: 20px 16px !important;
    }
    .login-page-footer {
        min-height: 48px;
        padding: 12px 16px;
    }
}
@media (max-height: 740px) {
    body:has(.login-page-footer) .hotel-login-story {
        padding: 16px 24px !important;
    }
    body:has(.login-page-footer) .hotel-login-pill {
        display: none;
    }
    body:has(.login-page-footer) .hotel-login-copy h1 {
        margin: 0 0 8px !important;
    }
    body:has(.login-page-footer) .hotel-login-access {
        padding: 12px 16px !important;
    }
    body:has(.login-page-footer) .hotel-login-card {
        padding: 18px 20px !important;
    }
    body:has(.login-page-footer) .hotel-login-card-head {
        margin-bottom: 14px !important;
    }
    body:has(.login-page-footer) .hotel-login-field {
        margin-top: 10px;
    }
    body:has(.login-page-footer) .hotel-login-options {
        margin: 10px 0;
        gap: 6px;
    }
    body:has(.login-page-footer) .hotel-login-options > span:last-child {
        display: none;
    }
    body:has(.login-page-footer) .hotel-login-submit {
        margin-top: 8px;
    }
}
@media (max-height: 500px) and (min-width: 600px) {
    body:has(.login-page-footer) .hotel-login-shell {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
        grid-template-rows: 1fr;
    }
    body:has(.login-page-footer) .hotel-login-story {
        display: flex !important;
        align-items: center;
    }
    body:has(.login-page-footer) .hotel-login-card {
        padding: 12px 16px !important;
    }
    body:has(.login-page-footer) .hotel-login-card-head,
    body:has(.login-page-footer) .hotel-login-options {
        display: none !important;
    }
    .login-page-footer {
        min-height: 36px;
        padding: 7px 16px;
    }
}

body:has(.login-page-footer) .hotel-login-copy {
    padding-bottom: 0 !important;
}
@media (max-height: 650px) and (max-width: 599px) {
    body:has(.login-page-footer) .hotel-login-card-head,
    body:has(.login-page-footer) .hotel-login-options {
        display: none !important;
    }
    body:has(.login-page-footer) .hotel-login-copy p {
        font-size: 14px;
    }
    body:has(.login-page-footer) .hotel-login-submit {
        margin-top: 14px !important;
    }
}
