:root {
  --login-navy: #071f3b;
  --login-blue: #2468c9;
  --login-orange: #e96a22;
  --login-line: rgba(7,31,59,.1);
}
html, body { min-height: 100%; }
.new-login-page {
  min-height: 100vh;
  margin: 0;
  color: #1d1d1f;
  background: #f4f6f9;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}
.login-topbar {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--login-line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
}
.login-topbar-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.login-brand img { width: auto; height: 52px; }
.login-topbar-actions { display: flex; align-items: center; gap: 18px; }
.back-home { color: #42474e; font-size: 14px; font-weight: 650; }
.back-home:hover { color: var(--login-blue); }
.login-language select {
  min-width: 78px;
  height: 42px;
  padding: 0 34px 0 16px;
  border: 1px solid var(--login-line);
  border-radius: 999px;
  color: #1d1d1f;
  background: #fff;
  font: inherit;
  font-weight: 650;
}
.login-main {
  min-height: calc(100vh - 138px);
  display: grid;
  place-items: center;
  padding: 54px 20px;
  background:
    radial-gradient(circle at 8% 12%, rgba(233,106,34,.1), transparent 28%),
    radial-gradient(circle at 94% 88%, rgba(36,104,201,.12), transparent 28%),
    #f4f6f9;
}
.login-layout {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  overflow: hidden;
  border: 1px solid rgba(7,31,59,.08);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(7,31,59,.12);
}
.login-intro {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  padding: 66px 58px;
  color: #fff;
  background: linear-gradient(145deg, #071f3b 0%, #0c3158 70%, #144e79 100%);
}
.login-intro::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 70px solid rgba(255,255,255,.05);
  border-radius: 50%;
}
.login-eyebrow,
.login-card-heading > span {
  display: block;
  color: #ffad77;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.login-intro h1 {
  max-width: 500px;
  margin: 20px 0 22px;
  color: #fff;
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: .98;
  letter-spacing: -.05em;
}
.login-intro > p { max-width: 510px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.6; }
.login-points { position: relative; z-index: 1; display: grid; gap: 15px; margin-top: 46px; }
.login-points span { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.9); font-size: 14px; }
.login-points i {
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  color: #ffad77;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.login-card { align-self: center; padding: 58px 54px; }
.login-card-heading h2 { margin: 10px 0 12px; color: var(--login-navy); font-size: 38px; line-height: 1.08; letter-spacing: -.035em; }
.login-card-heading p { margin-bottom: 30px; color: #68717d; line-height: 1.55; }
#new-login-form label { display: block; margin-bottom: 9px; color: #263442; font-size: 14px; font-weight: 700; }
#new-login-form input[type="text"] {
  width: 100%;
  height: 56px;
  padding: 0 17px;
  border: 1px solid #dce2e8;
  border-radius: 14px;
  outline: none;
  color: #1d1d1f;
  background: #fbfcfd;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
#new-login-form input[type="text"]:focus { border-color: var(--login-blue); background: #fff; box-shadow: 0 0 0 4px rgba(36,104,201,.1); }
.login-primary {
  width: 100%;
  min-height: 54px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--login-blue);
  box-shadow: 0 12px 28px rgba(36,104,201,.22);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.login-primary:hover { background: #1759b6; transform: translateY(-1px); }
.login-primary:disabled { opacity: .65; cursor: wait; transform: none; }
.login-alert { margin-bottom: 20px; padding: 13px 15px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.login-alert.error { color: #9f2e2e; background: #fff0f0; border: 1px solid #ffd9d9; }
.login-alert.success { color: #17673f; background: #edfaf3; border: 1px solid #cfefdd; }
.otp-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.otp-heading strong { color: var(--login-navy); font-size: 18px; }
.otp-heading p { margin: 4px 0 0; color: #6b7480; font-size: 13px; }
.change-identifier { border: 0; padding: 3px; color: var(--login-blue); background: none; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.otp-inputs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin: 22px 0 6px; }
#new-login-form .otp-inputs input[type="text"] { height: 58px; padding: 0; text-align: center; font-size: 25px; font-weight: 750; }
.register-link { margin: 24px 0 0; color: #727985; text-align: center; font-size: 13px; }
.register-link a { color: var(--login-blue); font-weight: 700; }
.login-footer { min-height: 66px; padding: 18px 24px; display: flex; justify-content: center; gap: 32px; color: #747c86; background: #fff; font-size: 12px; }
[hidden] { display: none !important; }
@media (max-width: 860px) {
  .login-main { padding: 28px 16px; }
  .login-layout { grid-template-columns: 1fr; max-width: 620px; }
  .login-intro { min-height: auto; padding: 42px 34px; }
  .login-intro h1 { font-size: 48px; }
  .login-points { margin-top: 30px; }
  .login-card { padding: 44px 34px; }
}
@media (max-width: 540px) {
  .login-topbar-inner { width: min(100% - 28px, 1180px); min-height: 64px; }
  .login-brand img { height: 44px; }
  .back-home { display: none; }
  .login-main { align-items: start; padding: 18px 12px 28px; }
  .login-layout { border-radius: 24px; }
  .login-intro { padding: 32px 24px; }
  .login-intro h1 { margin-top: 14px; font-size: 40px; }
  .login-intro > p { font-size: 15px; }
  .login-points { display: none; }
  .login-card { padding: 34px 22px; }
  .login-card-heading h2 { font-size: 32px; }
  .otp-inputs { gap: 6px; }
  #new-login-form .otp-inputs input[type="text"] { height: 52px; font-size: 22px; }
  .login-footer { flex-direction: column; gap: 4px; text-align: center; }
}
