.auth-page { min-height: 100vh; background: #f8fafc; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(440px, 40%) 1fr; }
.auth-story { position: relative; min-height: 100vh; padding: clamp(38px, 5vw, 76px); overflow: hidden; color: white; background: radial-gradient(circle at 82% 12%, rgb(81 164 232 / 28%), transparent 17%), radial-gradient(circle at 70% 70%, rgb(30 102 155 / 25%), transparent 32%), linear-gradient(150deg, #173652 0%, #071c31 58%, #102c44 100%); }
.auth-story::before { content: ''; position: absolute; inset: 0; opacity: .32; background: linear-gradient(90deg, transparent 58%, rgb(255 255 255 / 10%) 58% 60%, transparent 60% 71%, rgb(255 255 255 / 8%) 71% 72%, transparent 72%), linear-gradient(0deg, transparent 57%, rgb(255 255 255 / 6%) 57% 58%, transparent 58%); transform: scale(1.25) rotate(-4deg); }
.auth-story::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(5 21 38 / 20%), rgb(5 21 38 / 5%) 60%, rgb(5 21 38 / 42%)); }
.auth-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; text-decoration: none; }.auth-brand strong, .auth-brand small { display: block; }.auth-brand strong { font-size: clamp(22px, 2vw, 32px); letter-spacing: -.03em; }.auth-brand small { margin-top: 5px; font-size: 13px; }.auth-brand-light { color: white; }.auth-brand-light small { color: #d6e1ed; }.auth-brand-dark { justify-content: center; color: var(--ink); }.auth-brand-dark small { color: #536b8e; }
.auth-logo {
  width: 52px;
  height: 52px;
  display: block;
  flex: 0 0 auto;
}

.auth-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.story-content { position: relative; z-index: 1; width: min(500px, 100%); margin-top: clamp(70px, 11vh, 130px); }.story-content h1 { margin: 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.08; letter-spacing: -.04em; }.story-lead { max-width: 490px; margin: 26px 0 34px; color: #d9e3ed; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; }
.benefit-list { margin: 0; padding: 0; display: grid; gap: 18px; list-style: none; }.benefit-list li { display: flex; align-items: center; gap: 18px; }.benefit-list li > span { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; background: rgb(255 255 255 / 17%); border: 1px solid rgb(255 255 255 / 12%); border-radius: 50%; font-size: 26px; }.benefit-list strong, .benefit-list small { display: block; }.benefit-list strong { margin-bottom: 6px; font-size: 15px; }.benefit-list small { color: #cbd8e4; font-size: 13px; }
.story-content blockquote { margin: 42px 0 0; color: #e5edf5; font-size: 18px; line-height: 1.55; }.story-content blockquote::before { content: ''; width: 38px; height: 2px; margin-bottom: 22px; display: block; background: white; }
.auth-workspace { min-height: 100vh; padding: 48px clamp(24px, 7vw, 110px) 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 40% 42%, #fff 0%, #fff 22%, #f8fafc 72%); }
.auth-card { width: min(500px, 100%); padding: 48px 34px 34px; background: rgb(255 255 255 / 92%); border: 1px solid var(--border); border-radius: 13px; box-shadow: 0 18px 50px rgb(15 30 58 / 7%); }
.auth-heading { margin: 42px 0 32px; text-align: center; }.auth-heading h1 { margin: 0; font-size: 24px; letter-spacing: -.035em; }.auth-heading p { margin: 8px auto 0; max-width: 390px; color: #40587b; line-height: 1.5; }
.auth-form { display: grid; gap: 14px; }.auth-field { display: grid; gap: 7px; color: #263f64; font-size: 13px; font-weight: 500; }.input-wrap { min-height: 46px; padding: 0 12px; display: flex; align-items: center; gap: 10px; background: white; border: 1px solid #cbd8e6; border-radius: 7px; transition: border-color .15s, box-shadow .15s; }.input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgb(37 99 235 / 12%); }.input-wrap > i { width: 17px; color: #233f68; font-style: normal; text-align: center; }.input-wrap input { width: 100%; min-width: 0; height: 42px; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; }.input-wrap input::placeholder { color: #7185a3; }.password-toggle { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; color: #183c68; background: transparent; border: 0; border-radius: 5px; cursor: pointer; }.password-toggle:hover { background: #eff6ff; }
.forgot-row { margin-top: -3px; text-align: right; }.forgot-row a, .auth-help a { color: #065ee7; text-decoration: none; }.forgot-row a:hover, .auth-help a:hover { text-decoration: underline; }.auth-submit { min-height: 48px; margin-top: 8px; padding: 10px 16px; display: flex; justify-content: center; align-items: center; gap: 14px; color: white; background: linear-gradient(180deg, #1874ff, #0664ef); border: 0; border-radius: 7px; box-shadow: 0 7px 16px rgb(37 99 235 / 18%); cursor: pointer; font-weight: 500; text-decoration: none; }.auth-submit:hover { background: var(--primary-dark); }.auth-submit:focus-visible, .password-toggle:focus-visible { outline: 3px solid rgb(37 99 235 / 30%); outline-offset: 2px; }
.form-alert { padding: 11px 12px; color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; border-radius: 7px; font-size: 12px; }.field-error { color: var(--danger); font-size: 11px; }.auth-help { margin: 32px 0 0; color: #314b70; text-align: center; font-size: 12px; }.auth-footer { width: min(500px, 100%); margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; color: #40587b; font-size: 11px; }.auth-footer i { height: 13px; border-left: 1px solid #9aa9bc; }.auth-footer small { flex-basis: 100%; text-align: center; }.auth-message { margin-bottom: 10px; }.message-icon { width: 48px; height: 48px; margin: 0 auto 18px; display: grid; place-items: center; color: #08712c; background: #dcfce7; border-radius: 50%; font-size: 22px; }.link-button { margin-top: 26px; }
.auth-submit:disabled { opacity: .72; cursor: wait; }
.auth-spinner { width: 16px; height: 16px; border: 2px solid rgb(255 255 255 / 45%); border-top-color: #fff; border-radius: 50%; animation: auth-spin .7s linear infinite; }
.auth-check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; color: #263f64; font-size: 13px; line-height: 1.45; }
.auth-danger { background: linear-gradient(180deg, #c43227, #a61b13); }
.auth-danger:hover { background: #8f1711; }
.auth-secondary-link { display: block; margin-top: 14px; color: #536b8e; text-align: center; font-size: 11px; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@media (max-width: 980px) {
  .auth-layout { grid-template-columns: 38% 62%; }.auth-story { padding: 38px 28px; }.story-content { margin-top: 80px; }.story-content h1 { font-size: 32px; }.story-lead { font-size: 13px; }.benefit-list { gap: 13px; }.benefit-list li > span { width: 44px; height: 44px; flex-basis: 44px; font-size: 19px; }.benefit-list strong { font-size: 12px; }.benefit-list small { font-size: 9px; }.story-content blockquote { font-size: 13px; }.auth-brand-light .auth-logo { width: 38px; height: 38px; }.auth-brand-light strong { font-size: 14px; }.auth-brand-light small { font-size: 7px; }.auth-workspace { padding: 48px 22px 20px; }.auth-card { padding: 42px 28px 30px; }
}
@media (max-width: 640px) {
  .auth-layout { display: block; }.auth-story { display: none; }.auth-workspace { min-height: 100svh; padding: 58px 20px 18px; justify-content: flex-start; background: white; }.auth-card { width: 100%; padding: 0; border: 0; box-shadow: none; }.auth-brand-dark .auth-logo { width: 42px; height: 42px; }.auth-brand-dark strong { font-size: 18px; }.auth-brand-dark small { font-size: 8px; }.auth-heading { margin: 42px 0 28px; }.auth-heading h1 { font-size: 22px; }.auth-heading p { font-size: 12px; }.auth-form { gap: 13px; }.auth-help { margin-top: 30px; }.auth-footer { margin-top: 54px; padding-top: 0; }.auth-footer > span, .auth-footer > i { display: none; }
}
