:root { --card-max: 460px; }
.login-body {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 28px 18px 22px; overflow-x: hidden;
}
.orb { position: fixed; border-radius: 50%; filter: blur(60px); z-index: -1; opacity: 0.55; }
.orb-1 { width: 320px; height: 320px; background: #a78bfa; top: -90px; left: -70px; }
.orb-2 { width: 260px; height: 260px; background: #f9a8d4; bottom: -80px; right: -60px; }
.orb-3 { width: 220px; height: 220px; background: #7dd3fc; top: 42%; right: -110px; opacity: 0.4; }

.login-wrap { width: 100%; max-width: var(--card-max); margin: 0 auto; display: grid; gap: 22px; }
.brand-mark { display: grid; justify-items: center; gap: 10px; }
.brand-lockup {
  /* fits any uploaded logo: square mark, wide lock-up or tall artwork */
  max-width: min(292px, 74vw); max-height: 158px;
  width: auto; height: auto;
  filter: drop-shadow(0 8px 18px rgba(58, 45, 130, 0.14));
}
.brand-tile {
  background: #fff; border-radius: 22px; padding: 13px 20px;
  box-shadow: 0 16px 34px rgba(9, 6, 30, 0.42);
  display: grid; place-items: center;
}
.brand-tile img { max-width: min(228px, 56vw); max-height: 112px; width: auto; height: auto; }
.brand-text { display: grid; justify-items: center; gap: 2px; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.brand-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--violet); }

.login-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(64, 48, 140, 0.18), 0 2px 0 rgba(255,255,255,.9) inset;
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  padding: 28px 24px 22px;
}
.login-head h1 { font-size: 23px; margin-bottom: 8px; }
.login-head p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.login-head .eyebrow { margin-bottom: 8px; }
.login-form { display: grid; gap: 15px; margin-top: 22px; }
.input-icon { position: relative; display: flex; align-items: center; }
.input-icon > svg {
  position: absolute; left: 13px; width: 18px; height: 18px; color: #8b87a6; pointer-events: none;
}
.input-icon .input { padding-left: 41px; height: 48px; font-size: 14.5px; border-radius: 14px; }
.input-icon .eye {
  position: absolute; right: 7px; border: 0; background: transparent; color: #8b87a6;
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
}
.input-icon .eye svg { width: 19px; height: 19px; }
.login-submit { height: 50px; border-radius: 15px; font-size: 14.5px; margin-top: 4px; }
.login-error {
  background: rgba(244, 63, 94, 0.1); color: #be123c; border: 1px solid rgba(244, 63, 94, 0.22);
  padding: 10px 13px; border-radius: 12px; font-size: 12.5px; font-weight: 500;
}
.login-note {
  display: flex; gap: 9px; align-items: flex-start;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted); line-height: 1.55;
}
.login-note svg { color: var(--violet); flex: 0 0 auto; margin-top: 1px; }
.login-footer { text-align: center; font-size: 11px; color: #8b87a6; letter-spacing: 0.2px; }

@media (min-width: 480px) {
  .login-card { padding: 32px 30px 26px; }
  .login-head h1 { font-size: 25px; }
}
