.paginaLogin {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 1.5rem;
    overflow: hidden;
}

:global(.auth-page-wrapper:has(.paginaLogin)) {
    min-height: 100vh;
}

:global(.auth-page-wrapper:has(.paginaLogin) .auth-page-content) {
    padding-bottom: 0;
}

:global(body.login-body-active) {
    background-image: none !important;
    background-color: #0f172a;
}

:global(body.login-body-active::before) {
    display: none;
}

.fondoCapa {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    will-change: opacity;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fondoVisible {
    opacity: 1;
    z-index: 1;
}

.fondoOculto {
    opacity: 0;
    z-index: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.55) 0%,
        rgba(15, 23, 42, 0.35) 50%,
        rgba(15, 23, 42, 0.55) 100%
    );
    pointer-events: none;
}

.contenedorFormulario {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 440px;
}

.tarjetaLogin {
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 1rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.encabezadoLogin {
    text-align: center;
    margin-bottom: 0.5rem;
}

.tituloLogin {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.subtituloLogin {
    margin: 0;
    font-size: 0.9375rem;
    color: #374151;
}

@media (prefers-reduced-motion: reduce) {
    .fondoCapa {
        transition: none;
    }
}
