.login-page{
  align-items: center;
  background:
    radial-gradient(circle at 10% 15%, rgba(14,165,233,.10), transparent 30%),
    radial-gradient(circle at 90% 85%, rgba(15,23,42,.08), transparent 34%),
    #f4f7fb;
  display: flex;
  min-height: calc(100vh - 74px);
  padding: 48px 20px;
}

.login-shell{
  background: #fff;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(15,23,42,.14), 0 8px 24px rgba(15,23,42,.06);
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(420px, 1.1fr);
  margin: auto;
  max-width: 1040px;
  min-height: 620px;
  overflow: hidden;
  width: 100%;
}

.login-brand-panel{
  background: linear-gradient(145deg, #142139 0%, #0b1728 58%, #07111f 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 48px;
  position: relative;
}

.login-brand-panel::before,
.login-brand-panel::after{
  border: 1px solid rgba(56,189,248,.15);
  border-radius: 50%;
  content: "";
  position: absolute;
}

.login-brand-panel::before{ height: 320px; right: -190px; top: -130px; width: 320px; }
.login-brand-panel::after{ bottom: -180px; height: 380px; left: -220px; width: 380px; }

.login-brand-content,
.login-brand-footer{ position: relative; z-index: 1; }

.login-eyebrow{ color: #7dd3fc; font-size: 12px; font-weight: 800; letter-spacing: .14em; margin: 0 0 12px; text-transform: uppercase; }
.login-brand-panel h1{ font-size: clamp(30px, 3vw, 40px); font-weight: 750; letter-spacing: -.035em; line-height: 1.12; margin: 0; }
.login-brand-copy{ color: rgba(226,232,240,.76); font-size: 15px; line-height: 1.65; margin: 20px 0 30px; max-width: 390px; }
.login-trust-list{ display: grid; gap: 14px; }
.login-trust-list div{ align-items: center; color: rgba(241,245,249,.9); display: flex; font-size: 14px; font-weight: 600; gap: 12px; }
.login-trust-list i{ align-items: center; background: rgba(14,165,233,.13); border: 1px solid rgba(125,211,252,.18); border-radius: 9px; color: #7dd3fc; display: inline-flex; height: 34px; justify-content: center; width: 34px; }
.login-brand-footer{ color: rgba(148,163,184,.72); font-size: 12px; margin: 36px 0 0; }

.login-form-panel{ align-items: center; display: flex; padding: 50px clamp(36px, 6vw, 72px); }
.login-form-wrap{ margin: auto; max-width: 430px; width: 100%; }
.login-welcome-icon{ align-items: center; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 12px; color: #0284c7; display: inline-flex; height: 44px; justify-content: center; margin-bottom: 18px; width: 44px; }
.login-kicker{ color: #0284c7 !important; font-size: 12px !important; font-weight: 800; letter-spacing: .08em; margin-bottom: 7px !important; text-transform: uppercase; }
.login-form-heading h2{ color: #0f172a; font-size: 28px; font-weight: 750; letter-spacing: -.025em; margin: 0 0 9px; }
.login-form-heading > p{ color: #64748b; font-size: 14px; line-height: 1.55; margin: 0 0 30px; }

.login-field{ margin-bottom: 20px; }
.login-field label{ color: #334155; display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.login-label-row{ align-items: center; display: flex; justify-content: space-between; }
.login-label-row a{ color: #0284c7; font-size: 12px; font-weight: 700; margin-bottom: 8px; text-decoration: none; }
.login-label-row a:hover{ color: #0369a1; text-decoration: underline; }
.login-input-wrap{ position: relative; }
.login-input-wrap > i{ color: #94a3b8; left: 15px; position: absolute; top: 50%; transform: translateY(-50%); }
.login-input-wrap input{ background: #f8fafc; border: 1px solid #dbe3ec; border-radius: 12px; color: #0f172a; font-size: 14px; min-height: 50px; outline: 0; padding: 0 46px 0 44px; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; width: 100%; }
.login-input-wrap input::placeholder{ color: #94a3b8; }
.login-input-wrap input:focus{ background: #fff; border-color: #38bdf8; box-shadow: 0 0 0 4px rgba(14,165,233,.11); }
.login-input-wrap:focus-within > i{ color: #0284c7; }
.login-password-toggle{ align-items: center; background: transparent; border: 0; color: #64748b; display: inline-flex; height: 38px; justify-content: center; padding: 0; position: absolute; right: 7px; top: 6px; width: 38px; }
.login-password-toggle:hover{ color: #0284c7; }
.login-error{ background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; color: #b91c1c; display: none; font-size: 13px; margin: 0 0 16px; padding: 10px 12px; }
.login-error:not(:empty){ display: block; }
.login-submit{ align-items: center; background: linear-gradient(135deg, #142139, #0b1728); border: 0; border-radius: 12px; box-shadow: 0 10px 22px rgba(15,23,42,.16); color: #fff; display: flex; font-size: 14px; font-weight: 750; justify-content: center; min-height: 50px; padding: 0 20px; transition: box-shadow .15s ease, transform .15s ease; width: 100%; }
.login-submit i{ margin-left: auto; }
.login-submit:hover{ box-shadow: 0 13px 28px rgba(15,23,42,.22); transform: translateY(-1px); }
.login-submit:disabled{ cursor: wait; opacity: .68; transform: none; }
.login-register{ border-top: 1px solid #e2e8f0; color: #64748b; font-size: 13px; margin: 28px 0 0; padding-top: 24px; text-align: center; }
.login-register a{ color: #0284c7; font-weight: 750; text-decoration: none; }
.login-register a:hover{ text-decoration: underline; }
.login-security-note{ color: #94a3b8; font-size: 11px; margin: 20px 0 0; text-align: center; }
.login-security-note i{ margin-right: 5px; }

@media (max-width: 820px){
  .login-page{ padding: 28px 16px; }
  .login-shell{ grid-template-columns: 1fr; max-width: 560px; }
  .login-brand-panel{ padding: 28px 32px; }
  .login-brand-copy{ margin-bottom: 0; }
  .login-trust-list,
  .login-brand-footer{ display: none; }
  .login-form-panel{ padding: 38px 32px 42px; }
}

@media (max-width: 480px){
  .login-page{ align-items: flex-start; padding: 16px 10px 28px; }
  .login-shell{ border-radius: 18px; }
  .login-brand-panel{ padding: 24px; }
  .login-brand-panel h1{ font-size: 27px; }
  .login-brand-copy{ font-size: 13px; margin-top: 14px; }
  .login-form-panel{ padding: 30px 24px 34px; }
  .login-form-heading h2{ font-size: 24px; }
}

@media (prefers-reduced-motion: reduce){
  .login-input-wrap input,
  .login-submit{ transition: none; }
}
