/* ==========================================================================
   Operations login
   The page root is body.login-page. Not a working staff page: it keeps its
   own centred layout (plan Phase 0).
   ========================================================================== */

.login-page .operations-login-layout {
    min-height: clamp(360px, 70vh, 600px);
    align-items: center;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
    position: relative;
}

/* A faint brand wash behind the whole viewport. */
.login-page .operations-login-layout::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--color-brand) 4%, transparent) 0%,
        color-mix(in srgb, var(--color-brand) 1%, transparent) 50%,
        transparent 100%
    );
    z-index: -1;
    pointer-events: none;
}

.login-page .login-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    padding: 8px;
    background: color-mix(in srgb, var(--color-brand) 8%, transparent);
}

@media (max-width: 575.98px) {
    .login-page .login-logo {
        width: 56px;
        height: 56px;
    }

    .login-page .login-branding h1 {
        font-size: 1.25rem;
    }
}
