:root {
  color: #172033;
  background: #f6f7f9;
  font-family: Inter, system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input { font: inherit; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .88fr) minmax(520px, 1.12fr); }
.login-context {
  position: relative; display: flex; flex-direction: column; min-height: 100vh; overflow: hidden;
  padding: 40px clamp(38px, 5vw, 76px); color: #fff;
  background: radial-gradient(circle at 15% 15%, rgba(232,52,40,.28), transparent 32%),
    radial-gradient(circle at 90% 80%, rgba(62,84,120,.35), transparent 38%), #101722;
}
.login-context::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(to bottom right, #000, transparent 72%);
}
.login-brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; width: max-content; color: #fff; text-decoration: none; font-size: 19px; }
.login-brand img { width: 36px; height: 36px; }
.login-brand strong { color: #ef352b; }
.login-context__content { position: relative; z-index: 1; margin: auto 0; max-width: 590px; }
.login-context__badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.06); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.login-context__badge i { width: 7px; height: 7px; border-radius: 50%; background: #31c476; box-shadow: 0 0 0 4px rgba(49,196,118,.12); }
.login-context h1 { margin: 26px 0 18px; font-size: clamp(38px, 4vw, 60px); line-height: 1.04; letter-spacing: -.055em; }
.login-context__content > p { max-width: 520px; color: #aeb8c7; font-size: 16px; line-height: 1.7; }
.login-context ul { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; color: #d4dae3; font-size: 13px; }
.login-context li { display: flex; gap: 11px; align-items: center; }
.login-context li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(49,196,118,.12); color: #51dd90; font-weight: 700; }
.login-context__footer { position: relative; z-index: 1; margin: 0; color: #737f90; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.login-access { display: grid; place-items: center; min-height: 100vh; padding: 44px; background: #fbfbfc; }
.login-card { width: min(440px, 100%); animation: card-in .42s ease-out both; }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } }
.login-card__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 24px; border-radius: 14px; color: #fff; background: #d62a21; box-shadow: 0 12px 30px rgba(198,39,30,.22); font-weight: 800; }
.login-card__eyebrow { color: #d62a21; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.login-card h2 { margin: 8px 0 9px; color: #151b2b; font-size: 30px; letter-spacing: -.035em; }
.login-card__subtitle { margin: 0 0 32px; color: #737c8c; font-size: 14px; line-height: 1.55; }
#bad-login-form { display: grid; gap: 19px; }
.login-field { display: grid; gap: 8px; color: #3f4757; font-size: 12px; font-weight: 600; }
.login-field__control { display: flex; align-items: center; min-height: 50px; border: 1px solid #dce0e7; border-radius: 12px; background: #fff; transition: .2s ease; }
.login-field__control:focus-within { border-color: #df4a42; box-shadow: 0 0 0 4px rgba(214,42,33,.08); }
.login-field__control > svg { flex: 0 0 auto; width: 18px; margin-left: 15px; fill: none; stroke: #9199a7; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-field input { min-width: 0; width: 100%; padding: 14px 12px; border: 0; outline: 0; color: #1b2232; background: transparent; font-size: 13px; }
.login-field input::placeholder { color: #a7adba; }
.login-field__toggle { margin-right: 8px; padding: 8px; border: 0; color: #687182; background: transparent; cursor: pointer; font-size: 11px; font-weight: 600; }
.login-field__toggle:hover { color: #d62a21; }
.login-submit { display: flex; justify-content: space-between; align-items: center; min-height: 50px; margin-top: 3px; padding: 0 18px; border: 0; border-radius: 12px; color: #fff; background: #d62a21; box-shadow: 0 10px 24px rgba(214,42,33,.18); cursor: pointer; font-size: 13px; font-weight: 700; transition: .18s ease; }
.login-submit:hover { background: #bd2119; transform: translateY(-1px); }
.login-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.login-error { padding: 11px 13px; border: 1px solid #f2c2be; border-radius: 10px; color: #a9261f; background: #fff2f1; font-size: 12px; line-height: 1.45; }
.login-security { display: flex; gap: 12px; margin-top: 25px; padding: 15px; border: 1px solid #e5e8ed; border-radius: 12px; background: #f7f8fa; }
.login-security svg { flex: 0 0 auto; width: 19px; fill: none; stroke: #4d9b70; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-security div { display: grid; gap: 3px; }
.login-security strong { color: #3d4554; font-size: 11px; }
.login-security span { color: #868e9c; font-size: 10px; line-height: 1.45; }
.login-back { display: block; width: max-content; margin: 24px auto 0; color: #747d8d; text-decoration: none; font-size: 12px; }
.login-back:hover { color: #d62a21; }
@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-context { display: none; }
  .login-access { padding: 30px 22px; }
}
@media (prefers-reduced-motion: reduce) { .login-card { animation: none; } }
