.login-page { min-height: 100dvh; padding: 48px 24px 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: radial-gradient(ellipse at 12% 10%, #dfe8f7, transparent 45%), radial-gradient(ellipse at 90% 90%, #f8e9df, transparent 40%), #f5f7fb; color: #20314e; font-family: 'Segoe UI', sans-serif; }
.login-shell { width: 100%; max-width: 1060px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #ffffff; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: 0 24px 80px #20314e12; }
.login-story { position: relative; overflow: hidden; background: linear-gradient(145deg, #152e54, #264975); color: white; padding: 36px 40px; display: flex; flex-direction: column; }
.login-story::before { content: ''; position: absolute; width: 380px; height: 380px; border: 65px solid #ffffff03; border-radius: 50%; top: -230px; right: -180px; pointer-events: none; }
.login-brand { align-self: flex-start; background: white; padding: 12px 18px; border-radius: 14px; }
.login-brand img { width: 160px; height: 48px; object-fit: contain; }
.login-story-copy { margin-top: 62px; position: relative; z-index: 1; }
.login-eyebrow { color: #a9bfdc; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.login-story h2 { color: white; font-size: clamp(32px, 3.5vw, 44px); line-height: 1.15; font-weight: 750; letter-spacing: -.045em; margin: 16px 0 20px; }
.login-story h2 em { color: #f5a183; font-style: normal; }
.login-story-copy p { color: #b8cae2; font-size: 14px; line-height: 1.8; }
.login-route { position: relative; margin: 12px -40px 20px; height: 190px; }
.login-route svg { width: 100%; height: 100%; }
.login-route-start, .login-route-finish { position: absolute; font-size: 11px; font-weight: 650; background: #315681; border: 1px solid #ffffff15; border-radius: 12px; padding: 10px 13px; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px #0b213722; }
.login-route-start { left: 12%; top: 52%; }
.login-route-finish { right: 14%; top: 8%; }
.login-route-start i { color: #f5a183; }
.login-route-finish i { color: #86d2bb; }
.login-story-footer { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 11px; color: #b8cae2; margin-top: auto; padding-top: 16px; border-top: 1px solid #ffffff12; }
.login-story-footer span { opacity: .4; }
.login-form-panel { padding: 64px 48px 30px; display: flex; flex-direction: column; justify-content: center; }
.login-form-eyebrow { color: #6b86ab; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.login-heading h1 { font-size: 34px; font-weight: 800; letter-spacing: -.05em; margin: 10px 0 10px; color: #20314e; }
.login-heading h1 span { color: #ee7954; }
.login-heading p { color: #8290a4; font-size: 13px; line-height: 1.6; margin: 0 0 30px; }
.login-mobile-brand { display: none; }
.login-form { display: grid; gap: 20px; }
.login-validation:empty, .login-validation.validation-summary-valid { display: none; }
.login-validation ul { margin: 0; padding-left: 18px; }
.login-validation, .login-field .text-danger { font-size: 12px; }
.login-field > label { font-size: 12px; font-weight: 650; color: #3c506f; margin-bottom: 8px; display: block; }
.login-input-wrap { position: relative; }
.login-input-wrap > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #9babbe; pointer-events: none; }
.login-input-wrap .form-control { width: 100%; height: 54px; padding: 12px 46px; border: 1px solid #e3e9f2; border-radius: 12px; background: #f9fbfe; color: #20314e; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.login-input-wrap .form-control::placeholder { color: #a2afc0; font-size: 13px; }
.login-input-wrap .form-control:focus { background: #fff; border-color: #7394c7; box-shadow: 0 0 0 3px #4679c414; }
.login-input-wrap .input-validation-error { border-color: #db7a76; }
.login-password-toggle { position: absolute; right: 6px; top: 5px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: #7d8da5; border-radius: 8px; }
.login-password-toggle:hover { background: #edf2f9; }
.login-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.login-remember { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #78889e; cursor: pointer; }
.login-remember .form-check-input { margin: 0; width: 17px; height: 17px; border-color: #ccd7e7; border-radius: 5px; }
.login-remember .form-check-input:checked { background-color: #315a90; border-color: #315a90; }
.login-options a { color: #5072a2; font-size: 11px; font-weight: 650; text-decoration: none; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; min-height: 54px; border: 0; border-radius: 12px; background: linear-gradient(100deg, #234775, #365f98); color: white; font-size: 14px; font-weight: 700; box-shadow: 0 8px 16px #264c8018; transition: background .15s, box-shadow .15s; }
.login-submit:hover { background: #234775; box-shadow: 0 10px 20px #264c802a; }
.login-submit:active { transform: translateY(1px); }
.login-account-help { text-align: center; font-size: 11px; color: #98a4b6; line-height: 1.9; margin: 0; }
.login-account-help a { color: #59759c; font-size: 11px; font-weight: 600; text-decoration: none; }
.login-page a:hover { text-decoration: underline; }
.login-form-footer { display: flex; justify-content: center; align-items: center; gap: 7px; color: #9cabbc; font-size: 10px; margin-top: 38px; padding-top: 18px; border-top: 1px solid #f0f3f8; }
.login-form-footer i { color: #799a88; }
.login-page-footer { text-align: center; font-size: 10px; color: #95a2b6; margin: 22px 0 0; }
.login-page-footer span { padding: 0 8px; }
.login-page :is(a, button, input):focus-visible { outline: 2px solid #7297cb; outline-offset: 3px; }
@media (max-width: 850px) {
  .login-form-panel { padding: 48px 30px 28px; }
  .login-story { padding: 30px; }
  .login-story h2 { font-size: 34px; }
  .login-story-copy { margin-top: 48px; }
}
@media (max-width: 650px) {
  .login-page { padding: 32px 18px 24px; justify-content: center; }
  .login-shell { display: block; max-width: 440px; border-radius: 26px; }
  .login-story { display: none; }
  .login-form-panel { padding: 30px 24px 24px; }
  .login-mobile-brand { display: flex; justify-content: center; margin: 0 0 30px; padding-bottom: 22px; border-bottom: 1px solid #eef2f8; }
  .login-mobile-brand img { width: 188px; height: 64px; object-fit: contain; }
  .login-heading h1 { font-size: 32px; }
  .login-heading p { margin-bottom: 24px; }
  .login-form { gap: 18px; }
  .login-form-footer { margin-top: 26px; }
  .login-page-footer { max-width: 280px; line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) { .login-page * { transition: none !important; } }
