/* Login — split hero + form, holiday vibe */
.page-login .site-header { background: transparent; border-bottom: none; }
.page-login .site-main { display: flex; }

.login { display: grid; grid-template-columns: 1fr; width: 100%; min-width: 0; min-height: calc(100vh - 64px); }

.login__hero {
    display: none; position: relative; overflow: hidden;
    background: #1d6f97 center / cover no-repeat;
    background-image: url("/imgs/login-banner.png");
}
/* Gradient scrim so the welcome text stays legible over the photo. */
.login__hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,40,58,.05) 0%, rgba(13,40,58,.10) 45%, rgba(13,40,58,.72) 100%);
}
.login__hero-text { position: absolute; left: 0; bottom: 0; padding: 56px; color: #fff; max-width: 560px; }
.login__hero-text h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.18); }
.login__hero-text p { color: rgba(255,255,255,.92); font-size: 1.1rem; }

.login__panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--sp-6) var(--sp-5); gap: var(--sp-4); min-width: 0; }
.login__card { width: 100%; max-width: 420px; }
/* A notice sat flush against the first field label: the box had no margin of its own, and the
   form below it has none on top. */
.login__card .notice { margin-bottom: var(--sp-4); }
.login__logo { height: 38px; width: auto; display: block; margin-bottom: var(--sp-5); }
.login__links { margin: var(--sp-4) 0 0; text-align: center; }

.login__sso { margin-top: var(--sp-5); }
.login__divider { display: flex; align-items: center; gap: var(--sp-3); color: var(--ink-faint); font-size: .82rem; margin-bottom: var(--sp-4); }
.login__divider::before, .login__divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.login__sso-buttons { display: flex; flex-direction: column; gap: var(--sp-3); }
.login__sso-hint { font-size: .85rem; margin: var(--sp-3) 0 0; text-align: center; }
.login__sso-note { background: var(--sea-tint); color: var(--sea-deep); border: 1px solid var(--line); font-weight: 600; }
.login__switch { border: 0; background: none; padding: 0; font: inherit; color: var(--sea-deep); text-decoration: underline; cursor: pointer; }
/* An account whose company is no longer a customer: the way to the work account, and the way to stay. */
.login__former { background: var(--sea-tint); color: var(--sea-deep); border: 1px solid var(--line); }
.login__former-text { margin: 0 0 var(--sp-4); }
.login__former-anyway { margin: var(--sp-3) 0 0; text-align: center; font-weight: 400; }
.btn--sso { background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 700; white-space: normal; overflow-wrap: anywhere; text-align: center; line-height: 1.3; }
.btn--sso:hover { background: var(--sky); }
.login__foot { font-size: .88rem; }

@media (min-width: 920px) {
    .login { grid-template-columns: 1.1fr .9fr; }
    .login__hero { display: block; }
}
