.login-page { background: #fff; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.08fr .92fr; }
.login-visual { position: relative; min-height: 650px; overflow: hidden; background: var(--navy); color: #fff; }
.login-visual-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.login-visual-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(3,34,48,.94), rgba(6,63,82,.68)), linear-gradient(0deg, rgba(3,34,48,.65), transparent 55%); }
.login-visual-content { position: relative; z-index: 1; height: 100%; min-height: 650px; padding: 46px 52px 38px; display: flex; flex-direction: column; }
.login-brand { display: flex; align-items: center; gap: 12px; }
.login-brand img { width: 45px; height: 45px; object-fit: contain; filter: brightness(0) invert(1); }
.login-brand > div { display: flex; flex-direction: column; line-height: 1; }
.login-brand strong { font-size: 24px; letter-spacing: .12em; }
.login-brand span { margin-top: 8px; color: rgba(255,255,255,.46); font-size: 8px; letter-spacing: .18em; }
.login-visual-copy { max-width: 510px; margin: auto 0; }
.login-visual-copy > p { color: #8cddc7; font-size: 9px; font-weight: 600; letter-spacing: .17em; }
.login-visual-copy h1 { max-width: 500px; margin-top: 20px; font-size: clamp(38px, 4vw, 58px); font-weight: 500; line-height: 1.2; letter-spacing: -.045em; }
.login-visual-copy > span { display: block; max-width: 430px; margin-top: 24px; color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.9; }
.login-visual-footer { display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.35); font-size: 8px; letter-spacing: .14em; }
.login-visual-footer i { flex: 1; height: 1px; background: rgba(255,255,255,.15); }
.login-visual-footer small { font-size: 8px; }
.login-panel { position: relative; min-height: 650px; display: flex; align-items: center; justify-content: center; padding: 100px 45px 85px; background: #fff; }
.login-panel-top { position: absolute; top: 28px; left: 38px; right: 38px; display: flex; align-items: center; justify-content: flex-end; }
.login-mobile-brand { display: none; align-items: center; gap: 8px; color: var(--blue); }
.login-mobile-brand img { width: 34px; height: 34px; object-fit: contain; }
.login-mobile-brand strong { font-size: 18px; letter-spacing: .1em; }
.login-form-wrap { width: min(100%, 400px); }
.login-eyebrow { color: var(--teal); font-size: 9px; font-weight: 650; letter-spacing: .18em; }
.login-form-wrap h2 { margin-top: 13px; color: var(--navy); font-size: 34px; font-weight: 600; letter-spacing: -.035em; }
.login-subtitle { margin-top: 12px; color: #80939b; font-size: 12px; line-height: 1.7; }
#login-form { margin-top: 38px; }
.login-field { display: block; margin-bottom: 22px; }
.login-field > span { display: block; margin-bottom: 8px; color: #4d6974; font-size: 10px; font-weight: 550; }
.login-input { height: 48px; padding: 0 14px; display: flex; align-items: center; gap: 11px; border: 1px solid #d7e2e5; background: #fff; transition: border-color .2s, box-shadow .2s; }
.login-input:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(32,164,133,.08); }
.login-input svg { width: 17px; height: 17px; flex-shrink: 0; color: #8ca0a8; }
.login-input input { width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: 12px; }
.login-input input::placeholder { color: #a6b4ba; }
.login-error { display: none; align-items: flex-start; gap: 8px; margin: -5px 0 18px; padding: 11px 12px; background: #fff0ee; color: #a04d43; font-size: 10px; line-height: 1.6; }
.login-error.show { display: flex; }
.login-error svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }
.login-submit { width: 100%; height: 49px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border: 0; background: var(--teal); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s; }
.login-submit:hover { background: #188b71; transform: translateY(-1px); }
.login-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.login-submit svg { width: 18px; height: 18px; }
.login-help { margin-top: 20px; color: #98a8ae; font-size: 9px; text-align: center; }
.login-panel-footer { position: absolute; left: 38px; right: 38px; bottom: 28px; display: flex; align-items: center; gap: 13px; color: #a0afb5; font-size: 8px; }
.login-panel-footer i { flex: 1; height: 1px; background: #e6edef; }

@media (max-width: 960px) {
  .login-shell { grid-template-columns: .9fr 1.1fr; }
  .login-visual-content { padding: 36px 32px 30px; }
  .login-visual-copy h1 { font-size: 38px; }
  .login-panel { padding-inline: 35px; }
}

@media (max-width: 720px) {
  .login-shell { display: block; min-height: 100vh; }
  .login-visual { display: none; }
  .login-panel { min-height: 100vh; padding: 110px 25px 85px; }
  .login-panel-top { top: 22px; left: 22px; right: 22px; justify-content: space-between; }
  .login-mobile-brand { display: flex; }
  .login-form-wrap { max-width: 420px; }
  .login-form-wrap h2 { font-size: 31px; }
  .login-panel-footer { left: 25px; right: 25px; bottom: 22px; }
}

@media (max-width: 390px) {
  .login-mobile-brand strong { font-size: 16px; }
  .login-panel { padding-inline: 20px; }
}
