body.login-premium {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(47, 111, 98, .18), transparent 34%),
    radial-gradient(circle at 92% 92%, rgba(37, 99, 235, .14), transparent 30%),
    #071426;
  color: #0f172a;
  overflow-x: hidden;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
}

.login-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(36px, 5vw, 72px);
  color: #fff;
  overflow: hidden;
}

.login-brand-panel::before,
.login-brand-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.login-brand-panel::before {
  width: 460px;
  height: 460px;
  top: -170px;
  right: -170px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}

.login-brand-panel::after {
  width: 260px;
  height: 260px;
  bottom: -120px;
  left: 18%;
  background: rgba(37,99,235,.08);
  filter: blur(8px);
}

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

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.login-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #2563eb, #3b82f6);
  box-shadow: 0 12px 30px rgba(37,99,235,.3);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.04em;
}

.login-brand-name {
  display: block;
  font-size: 21px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .08em;
}

.login-brand-group {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .34em;
  color: #94a3b8;
}

.login-brand-copy {
  max-width: 610px;
  margin: auto 0;
  padding: 70px 0;
}

.login-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.2);
  background: rgba(15,23,42,.35);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.login-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52,211,153,.12);
}

.login-brand-copy h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: .98;
  letter-spacing: -.055em;
  color: #f8fafc;
}

.login-brand-copy p {
  max-width: 540px;
  margin: 24px 0 0;
  color: #94a3b8;
  font-size: 17px;
  line-height: 1.7;
}

.login-brand-footer {
  color: #64748b;
  font-size: 12px;
}

.login-form-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #f8fafc;
  border-radius: 34px 0 0 34px;
  box-shadow: -20px 0 60px rgba(2,6,23,.18);
}

.login-card {
  width: min(100%, 480px);
}

.login-mobile-brand {
  display: none;
}

.login-card-header {
  margin-bottom: 32px;
}

.login-card-header h2 {
  margin: 0;
  color: #0f172a;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.login-card-header p {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 20px;
}

.login-field label {
  margin: 0 0 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.login-input-wrap {
  position: relative;
}

.login-input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #94a3b8;
  pointer-events: none;
}

.login-input-wrap input {
  width: 100%;
  min-height: 56px;
  padding: 0 48px 0 46px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  font-size: 16px;
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.login-input-wrap input:hover {
  border-color: #cbd5e1;
}

.login-input-wrap input:focus {
  outline: none;
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}

.login-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.login-password-toggle:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.login-password-toggle svg {
  width: 20px;
  height: 20px;
}

.login-submit {
  min-height: 56px;
  margin: 2px 0 0;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(37,99,235,.22);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.login-submit:hover {
  box-shadow: 0 17px 30px rgba(37,99,235,.28);
  transform: translateY(-1px);
}

.login-submit:active {
  transform: translateY(0);
}

.login-submit:disabled {
  opacity: .68;
  cursor: wait;
}

.login-spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: login-spin .7s linear infinite;
}

@keyframes login-spin { to { transform: rotate(360deg); } }

#login-error:empty { display: none; }

#login-error .error {
  margin: 0;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #be123c;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.login-auth-divider{display:flex;align-items:center;gap:12px;margin:20px 0 14px;color:#94a3b8;font-size:12px;font-weight:700}.login-auth-divider:before,.login-auth-divider:after{content:"";height:1px;flex:1;background:#dfe6ef}.login-google{width:100%;min-height:54px;border:1px solid #d5deea;border-radius:14px;background:#fff;color:#0f172a;display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.03)}.login-google:hover{background:#f8fafc;border-color:#c2cedd}.login-google:disabled{opacity:.6;cursor:wait}.login-google-mark{font-size:19px;font-weight:900;color:#4285f4}.login-create{text-align:center;margin-top:18px;color:#64748b;font-size:13px}.login-create a{color:#2563eb;font-weight:800;text-decoration:none}.login-create a:hover{text-decoration:underline}

.login-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 24px;
  color: #94a3b8;
  font-size: 12px;
}

.login-security svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 900px) {
  body.login-premium {
    background: #f8fafc;
  }

  .login-shell {
    display: block;
  }

  .login-brand-panel {
    display: none;
  }

  .login-form-panel {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 34px 22px;
    border-radius: 0;
    box-shadow: none;
    background:
      linear-gradient(180deg, #071426 0, #071426 235px, #f8fafc 235px, #f8fafc 100%);
  }

  .login-card {
    width: min(100%, 520px);
    margin: auto;
  }

  .login-mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 26px 4px;
    color: #fff;
  }

  .login-mobile-brand .login-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 20px;
  }

  .login-mobile-brand .login-brand-name {
    font-size: 18px;
  }

  .login-card-inner {
    padding: 28px 24px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(15,23,42,.12);
  }

  .login-card-header {
    margin-bottom: 26px;
  }

  .login-card-header h2 {
    font-size: 29px;
  }
}

@media (max-width: 420px) {
  .login-form-panel {
    padding: 26px 16px;
    background: linear-gradient(180deg, #071426 0, #071426 215px, #f8fafc 215px, #f8fafc 100%);
  }

  .login-card-inner {
    padding: 25px 20px 22px;
    border-radius: 20px;
  }

  .login-card-header h2 {
    font-size: 27px;
  }

  .login-card-header p {
    font-size: 14px;
  }
}
