.auth-view { background: #f7f9fc; }
.auth-shell { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 100vh; padding: 20px; gap: 20px; }
.auth-content { display: flex; flex-direction: column; min-width: 0; padding: 12px 35px 7px; }
.auth-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 0; }
.auth-header .brand { font-size: 23px; }
.auth-header .language-trigger { background: #fff; border: 1px solid #e2eaf5; }
.auth-form-wrap { width: min(414px,100%); margin: auto; padding: 45px 0; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: #8898b0; margin-bottom: 39px; }
.auth-back .icon { width: 14px; height: 14px; transform: rotate(180deg); }
.auth-back:hover { color: var(--blue); }
.auth-heading { margin-bottom: 31px; }
.auth-eyebrow { display: block; color: #7d92b1; text-transform: uppercase; letter-spacing: 1.4px; font-size: 8px; font-weight: 650; margin-bottom: 15px; }
.auth-heading h1 { font-family: 'Manrope',sans-serif; font-size: 38px; line-height: 1.2; font-weight: 800; letter-spacing: -1.5px; margin: 0 0 15px; }
.auth-heading > p { font-size: 14px; color: #7c8da6; line-height: 1.8; margin: 0; max-width: 390px; }
.auth-field { margin-bottom: 21px; }
.auth-field > label { display: block; color: #425c80; font-size: 12px; font-weight: 550; margin-bottom: 9px; }
.auth-field input { width: 100%; background: white; color: #345275; border: 1px solid #dce5f3; border-radius: 7px; padding: 14px 15px; font-size: 14px; height: 48px; transition: border-color .18s, box-shadow .18s; }
.auth-field input:focus { outline: none; border-color: #96b1ee; box-shadow: 0 0 0 3px #6c94ef12; }
.auth-field input[aria-invalid="true"] { border-color: #dc9ba8; }
.auth-password { position: relative; }
.auth-password input { padding-right: 48px; }
.auth-password button { display: grid; place-items: center; position: absolute; right: 8px; top: 7px; width: 35px; height: 35px; border: 0; background: none; color: #8ca1bd; border-radius: 5px; }
.auth-password button:hover { background: #f3f6fc; color: #557fc5; }
.auth-password button .icon { width: 18px; height: 18px; }
.auth-password-note { font-size: 10px; color: #91a2ba; line-height: 1.7; margin: -9px 0 23px; }
.auth-password-guide { display: flex; flex-direction: column; gap: 7px; margin: -7px 0 23px; font-size: 9px; color: #91a2ba; }
.auth-password-track { display: block; height: 3px; border-radius: 4px; background: #e6edf7; overflow: hidden; }
.auth-password-track i { display: block; height: 100%; width: 0; background: #76a88d; transition: width .2s; }
.auth-password-track.met i { width: 100%; }
.auth-caps { font-size: 11px; padding: 9px 11px; color: #a0804c; background: #fff8e9; border-radius: 5px; }
.auth-caps[hidden], .auth-loading[hidden], .auth-form-error[hidden] { display: none; }
.auth-submit { width: 100%; font-size: 13px; padding: 15px 22px; margin-top: 3px; display: flex; justify-content: space-between; }
.auth-submit:disabled { cursor: wait; }
.auth-switch { display: flex; align-items: center; gap: 7px; justify-content: center; flex-wrap: wrap; margin-top: 25px; font-size: 11px; line-height: 1.8; }
.auth-switch > span { color: #8da0b9; }
.auth-switch a { display: inline-flex; align-items: center; gap: 5px; color: #4e79cd; font-weight: 600; }
.auth-switch .icon { width: 12px; height: 12px; }
.auth-private { display: flex; justify-content: center; align-items: flex-start; gap: 6px; padding-top: 23px; margin: 23px 0 0; border-top: 1px solid #e4ebf5; font-size: 9px; color: #96a7bf; line-height: 1.8; text-align: center; }
.auth-private .icon { width: 12px; height: 12px; margin-top: 2px; }
.auth-demo { font-size: 8px; line-height: 1.8; color: #9aabc2; text-align: center; margin: 12px 0 0; }
.auth-demo > i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #9ab8e4; vertical-align: middle; margin-right: 6px; }
.auth-demo > span { display: block; margin-top: 5px; }
.auth-loading { font-size: 11px; color: #6e8ab2; margin-top: -8px; }
.auth-form-error { padding: 12px 14px; background: #fff2f5; border: 1px solid #efd8e0; border-radius: 6px; color: #a25b6e; font-size: 12px; line-height: 1.7; margin: 0 0 20px; }
.auth-field-error { display: block; color: #b07282; font-size: 10px; line-height: 1.7; margin-top: 6px; }
.auth-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; color: #9aabc0; font-size: 9px; }
.auth-footer a { display: inline-flex; align-items: center; gap: 6px; }
.auth-footer .icon { width: 12px; height: 12px; }
.auth-visual { position: relative; overflow: hidden; min-height: 760px; background: #10263f; border-radius: 20px; isolation: isolate; }
.auth-visual-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 55%; opacity: .72; z-index: -3; }
.auth-visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg,#10263f65 0%,#10263f08 30%,#10263fb5 58%,#10263ffa 100%); z-index: -2; }
.auth-visual:after { content: ''; position: absolute; inset: 0; border: 1px solid #ffffff14; border-radius: inherit; pointer-events: none; }
.auth-visual-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 35px; color: #e0eaff; font-size: 9px; letter-spacing: .5px; }
.auth-visual-mark { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid #ffffff25; border-radius: 7px; background: #162f4e55; backdrop-filter: blur(12px); }
.auth-visual-mark .icon { width: 20px; height: 20px; }
.auth-visual-mark i { width: 1px; height: 17px; background: #ffffff25; }
.auth-visual-copy { position: absolute; left: 43px; right: 38px; bottom: 112px; color: white; }
.auth-visual-eyebrow { display: block; color: #9fbce8; font-size: 9px; font-weight: 600; letter-spacing: 3px; margin-bottom: 22px; }
.auth-visual-copy h2 { font-size: clamp(32px,3.2vw,48px); line-height: 1.2; letter-spacing: -1.7px; margin-bottom: 20px; }
.auth-visual-copy p { max-width: 380px; color: #b7cbe6; font-size: 13px; line-height: 1.9; margin-bottom: 26px; }
.auth-visual-features { display: grid; gap: 11px; }
.auth-visual-features > span { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #c2d3eb; }
.auth-visual-features .icon { width: 14px; height: 14px; color: #a2c2f3; }
.auth-visual-bottom { position: absolute; left: 43px; right: 38px; bottom: 36px; display: flex; gap: 13px; align-items: center; border-top: 1px solid #ffffff19; padding-top: 19px; color: #7f9ec5; font-size: 9px; }
.auth-visual-bottom i { width: 3px; height: 3px; border-radius: 50%; background: #688ab6; }
@media (min-width: 1600px) {
  .auth-content { padding-inline: 75px; }
  .auth-visual-copy { left: 65px; right: 65px; }
  .auth-visual-copy h2 { font-size: 52px; }
}
@media (max-width: 1100px) {
  .auth-shell { grid-template-columns: 1fr .85fr; gap: 15px; padding: 15px; }
  .auth-content { padding-inline: 25px; }
  .auth-visual-copy { left: 27px; right: 25px; }
  .auth-visual-copy h2 { font-size: 34px; }
  .auth-visual-bottom { left: 27px; right: 25px; }
  .auth-visual-top { padding: 25px; }
  .auth-visual-top > span:last-child { display: none; }
  .auth-heading h1 { font-size: 34px; }
}
@media (max-width: 800px) {
  .auth-shell { display: block; padding: 0; min-height: 100vh; background: #f7f9fc; }
  .auth-content { min-height: 100vh; padding: 15px 28px; }
  .auth-header { max-width: 600px; width: 100%; margin-inline: auto; }
  .auth-form-wrap { padding: 40px 0; }
  .auth-visual { display: none; }
  .auth-footer { max-width: 600px; width: 100%; margin-inline: auto; }
  .auth-heading h1 { font-size: 37px; }
  .auth-back { margin-bottom: 32px; }
}
@media (max-width: 420px) {
  .auth-content { padding: 14px 23px; }
  .auth-header .brand { font-size: 21px; }
  .auth-heading h1 { font-size: 33px; letter-spacing: -1.3px; }
  .auth-heading > p { font-size: 13px; }
  .auth-form-wrap { padding: 30px 0; }
  .auth-back { margin-bottom: 27px; }
  .auth-field input { font-size: 16px; }
  .auth-private { font-size: 9px; }
}

/* Clearer reading contrast and a more deliberate form hierarchy. */
.auth-heading > p { color: #61738c; }
.auth-back { color: #60738e; }
.auth-field > label { font-weight: 650; color: #354b69; }
.auth-field input { border-radius: 10px; border-color: #d7e1ee; box-shadow: 0 2px 4px #18335503; }
.auth-field input:hover { border-color: #b8c9e2; }
.auth-field input:focus { border-color: #567be8; box-shadow: 0 0 0 4px #496ef010; }
.auth-password-note, .auth-password-guide { color: #687e99; font-size: 11px; }
.auth-switch { font-size: 12px; }
.auth-switch > span { color: #697c96; }
.auth-private, .auth-demo, .auth-footer { color: #6f829d; font-size: 10px; }
.auth-submit { border-radius: 10px; min-height: 51px; }
.auth-visual { box-shadow: inset 0 0 0 1px #ffffff14,0 18px 60px #10263f13; }
.auth-visual-copy p { color: #cfdaeb; }
.auth-visual-bottom { color: #a9bedb; }
