:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07111f;
  color: #eef5ff;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }

.login-layout { display: grid; min-height: 100vh; grid-template-columns: minmax(360px, 1fr) minmax(460px, 1fr); }
.brand-panel { position: relative; overflow: hidden; padding: 48px clamp(44px, 8vw, 132px); display: flex; flex-direction: column; background: radial-gradient(circle at 12% 88%, #0a867b 0, transparent 28%), radial-gradient(circle at 84% 4%, #164d9b 0, transparent 34%), #07111f; }
.brand-panel::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgb(117 219 244 / 16%); border-radius: 50%; right: -260px; bottom: -200px; box-shadow: 0 0 0 72px rgb(117 219 244 / 4%), 0 0 0 145px rgb(117 219 244 / 3%); }
.brand, .mobile-brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; font-size: 18px; font-weight: 700; letter-spacing: .1em; text-decoration: none; }
.brand strong, .mobile-brand strong { color: #49d3ff; }
.brand-mark { display: inline-grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; background: linear-gradient(135deg, #43cdfa, #2463dc); color: #06101f; font-size: 19px; font-weight: 900; letter-spacing: 0; }
.brand-copy { max-width: 550px; margin: auto 0; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; color: #7fdcf5; font-size: 11px; font-weight: 750; letter-spacing: .16em; }
h1 { max-width: 540px; margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: 1.04; letter-spacing: -.055em; }
.brand-copy > p:last-child { max-width: 450px; margin: 28px 0 0; color: #b8c9de; font-size: 17px; line-height: 1.65; }
.feature-list { display: grid; gap: 12px; padding: 0; margin: 0 0 54px; color: #d2e0ef; font-size: 14px; list-style: none; position: relative; z-index: 1; }
.feature-list span { color: #62dfb3; font-weight: 800; margin-right: 10px; }
.copyright { margin: 0; color: #69809d; font-size: 12px; }

.form-panel { display: grid; place-items: center; padding: 42px 24px; background: #0b1728; }
.form-container { width: min(100%, 390px); }
.mobile-brand { display: none; margin-bottom: 64px; }
h2 { margin: 0; font-size: 32px; letter-spacing: -.045em; }
.form-intro { margin: 10px 0 34px; color: #91a5bd; font-size: 14px; }
form { display: grid; gap: 9px; }
label { margin-top: 10px; color: #c7d5e5; font-size: 13px; font-weight: 650; }
input { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid #263b55; border-radius: 10px; background: #101f33; color: #f1f6fc; font: inherit; outline: none; transition: border-color .18s, box-shadow .18s; }
input::placeholder { color: #61748c; }
input:focus { border-color: #48cafa; box-shadow: 0 0 0 3px rgb(72 202 250 / 13%); }
.password-field { position: relative; }
.password-field input { padding-right: 74px; }
.password-toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); border: 0; border-radius: 7px; padding: 7px 8px; background: transparent; color: #80d9f5; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.form-error { margin: 9px 0 0; padding: 10px 12px; border: 1px solid #863c50; border-radius: 8px; background: #301a27; color: #ffb9c5; font-size: 13px; }
.submit-button { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-top: 18px; padding: 0 17px; border: 0; border-radius: 10px; background: linear-gradient(100deg, #38cbf4, #2872e6); color: #041322; font: inherit; font-weight: 800; cursor: pointer; transition: filter .18s, transform .18s; }
.submit-button:hover { filter: brightness(1.08); }
.submit-button:active { transform: translateY(1px); }
.submit-button:disabled { cursor: wait; filter: saturate(.35); }
.support-note { margin: 28px 0 0; color: #61748c; font-size: 12px; line-height: 1.55; text-align: center; }

@media (max-width: 820px) { .login-layout { display: block; } .brand-panel { display: none; } .form-panel { min-height: 100vh; align-items: start; padding-top: 58px; } .mobile-brand { display: inline-flex; } }
