.modern-login-page { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(430px, 1.05fr) minmax(430px, .95fr); background: #fff; font-family: 'Source Sans 3', 'Segoe UI', sans-serif; }
.login-story-panel { isolation: isolate; color: #fff; background: linear-gradient(145deg, #181214 0%, #381017 58%, #7e0a1a 140%); position: relative; overflow: hidden; }
.login-story-panel::after { content: ''; z-index: -1; border: 75px solid rgba(224,42,64,.17); border-radius: 50%; width: 480px; height: 480px; position: absolute; bottom: -230px; right: -220px; }
.login-story-grid { z-index: -1; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 58px 58px; position: absolute; inset: 0; mask-image: linear-gradient(145deg,#000,transparent 80%); }
.login-story-content { min-height: 100vh; min-height: 100dvh; padding: clamp(2rem,5vw,4.25rem); display: flex; flex-direction: column; justify-content: space-between; }
.login-story-brand, .login-mobile-brand { display: flex; align-items: center; gap: .85rem; }
.login-logo-badge { width: 60px; height: 60px; padding: 6px; display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; background: #fff; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; box-shadow: 0 4px 15px rgba(0,0,0,.24); }
.login-logo-badge img { width: auto; max-width: 42px; max-height: 48px; display: block; }
.login-story-brand > span:last-child, .login-mobile-brand > span:last-child { display: flex; flex-direction: column; }
.login-story-brand small, .login-mobile-brand small { color: #d9c8cb; text-transform: uppercase; letter-spacing: .18em; font-size: .62rem; font-weight: 750; }
.login-story-brand strong { font-size: 1.25rem; }.login-mobile-brand strong { font-size: 1.15rem; }
.login-story-copy { max-width: 620px; }.login-kicker { display: flex; align-items: center; gap: .4rem; color: #efb9bf; text-transform: uppercase; letter-spacing: .17em; font-size: .72rem; font-weight: 800; }
.login-story-copy h1 { margin: .85rem 0 1.25rem; max-width: 680px; font-size: clamp(3rem,6vw,5.6rem); line-height: .96; letter-spacing: -.065em; text-wrap: balance; }
.login-story-copy > p { color: rgba(255,255,255,.7); max-width: 560px; font-size: 1.05rem; line-height: 1.7; }
.login-benefits { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }.login-benefits span { display: flex; align-items: center; gap: .4rem; color: #eadde0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; padding: .55rem .7rem; font-size: .7rem; }
.login-story-content > footer { color: rgba(255,255,255,.42); letter-spacing: .06em; font-size: .7rem; }
.login-access-panel { min-height: 100vh; min-height: 100dvh; padding: 2rem; display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(145deg,#fff,#faf7f7); }
.login-access-card, .modern-login-footer { width: min(100%,470px); }.login-mobile-brand { display: none; }
.login-welcome { color: #a41124; text-transform: uppercase; letter-spacing: .15em; font-size: .68rem; font-weight: 850; }
.login-access-card h2 { margin: .35rem 0 .45rem; color: #111827; font-size: clamp(2rem,4vw,2.75rem); letter-spacing: -.05em; line-height: 1.08; }.login-intro { margin: 0 0 1.7rem; color: #6b7280; font-size: .92rem; line-height: 1.55; }
.login-error { display: flex; align-items: flex-start; gap: .65rem; margin: 0 0 1rem; padding: .8rem .9rem; color: #8f1021; background: #fef2f2; border: 1px solid rgba(204,0,0,.25); border-radius: 9px; font-size: .82rem; line-height: 1.45; }.login-error svg { flex: none; }
.login-btn-sso { width: 100%; color: #fff; background: #c00; border: 0; border-radius: 8px; cursor: pointer; transition: background .15s, transform .15s; }.login-btn-sso:hover:not(:disabled) { background: #b50000; transform: translateY(-1px); }.login-btn-sso:disabled { opacity: .7; cursor: not-allowed; }
.modern-sso { min-height: 64px; padding: .85rem 1rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; text-align: left; }.modern-sso > span { display: flex; flex-direction: column; }.modern-sso strong { font-size: .9rem; }.modern-sso small { color: rgba(255,255,255,.7); margin-top: .1rem; font-size: .68rem; font-weight: 500; }
.login-sso-note { color: #9ca3af; text-align: center; margin: .55rem 0 0; font-size: .75rem; }.login-security-note { display: flex; justify-content: center; align-items: center; gap: .4rem; color: #918487; margin-top: 2rem; font-size: .72rem; }
.login-sso-loading { display: flex; justify-content: center; align-items: center; gap: .65rem; min-height: 64px; color: #6b7280; }.login-spinner { width: 18px; height: 18px; flex: none; border: 2px solid rgba(0,0,0,.14); border-top-color: #c00; border-radius: 50%; animation: login-spin .7s linear infinite; }.login-spinner--white { border-color: rgba(255,255,255,.35); border-top-color: #fff; }@keyframes login-spin { to { transform: rotate(360deg); } }
.login-coming-soon { color: #6b7280; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 9px; padding: 1rem; font-size: .85rem; }.login-coming-soon strong { color: #111827; }.login-coming-soon p { margin: .3rem 0 0; }
.modern-login-footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; color: #918487; font-size: .66rem; }.modern-login-footer a { color: #8f1021; font-weight: 700; text-decoration: none; }.modern-login-footer a:hover { text-decoration: underline; }.modern-login-footer span { white-space: nowrap; }.login-support { display: flex; align-items: center; gap: .35rem; }.login-support i { color: #b6abad; font-style: normal; }
@media (max-width: 900px) { .modern-login-page { grid-template-columns: 1fr; }.login-story-panel { display: none; }.login-access-panel { justify-content: center; }.login-mobile-brand { display: flex; margin-bottom: 2.5rem; }.login-mobile-brand small { color: #8b7d80; }.login-logo-badge { background: #fff; border-color: #eadfe1; } }
@media (max-width: 500px) { .login-access-panel { justify-content: flex-start; padding: 1.5rem 1rem; }.login-access-card { margin-top: 1rem; }.login-mobile-brand { margin-bottom: 1.7rem; }.modern-login-footer { text-align: center; flex-direction: column; align-items: center; }.login-support { flex-wrap: wrap; justify-content: center; }.modern-sso { min-height: 62px; } }
@media (prefers-reduced-motion: reduce) { .login-btn-sso { transition: none; }.login-spinner { animation-duration: 1.4s; } }
