/* Login: split screen in the MMINT login-kit family (Brand login). Left ~60 %: marketing panel on a navy to
   violet background with a glowing line chart and floating glass preview cards (sample numbers). Right ~40 %:
   darker column with the logo and the sign-in card. Under 900 px the left panel becomes a short header. */
.lg-body {
  --lg-navy: #0b0d2b; --lg-violet: #2a0f4a; --lg-side: #0a0914; --lg-ink: #f5f2fb; --lg-muted: #bdb6d2; --lg-faint: #9a93b3;
  --lg-pink: #e0167f; --lg-magenta: #a5149a; --lg-grad: linear-gradient(90deg, #e0167f, #a5149a);
  margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--lg-side); color: var(--lg-ink);
  font-family: "DM Sans", Manrope, system-ui, sans-serif; overflow-x: hidden;
}
.lg-body::before, .lg-body::after { display: none; }
.lg { display: grid; grid-template-columns: minmax(0, 3fr) minmax(380px, 2fr); min-height: 100vh; min-height: 100dvh; }

/* ---------- left panel ---------- */
.lg-hero {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 36px clamp(32px, 5vw, 88px) 24px;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(224, 22, 127, .22), transparent 70%),
    radial-gradient(55% 60% at 10% 90%, rgba(46, 168, 255, .16), transparent 70%),
    linear-gradient(140deg, var(--lg-navy) 0%, #150f3a 50%, var(--lg-violet) 100%);
}
.lg-chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; pointer-events: none; }
.lg-area { fill: url(#lgArea); opacity: 0; animation: lg-fade 1.2s ease 1.4s forwards; }
.lg-line { fill: none; stroke: url(#lgLine); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(224, 22, 127, .7)); animation: lg-draw 2.4s cubic-bezier(.4, .1, .2, 1) .3s forwards; }
.lg-dots circle { fill: #ff7cc8; filter: drop-shadow(0 0 8px rgba(255, 63, 174, .9)); transform-box: fill-box; transform-origin: center;
  opacity: 0; animation: lg-fade .4s ease forwards, lg-pulse 2.6s ease-in-out 3; }
.lg-dots circle:nth-child(1) { animation-delay: 1.1s, 1.5s; }
.lg-dots circle:nth-child(2) { animation-delay: 1.5s, 1.9s; }
.lg-dots circle:nth-child(3) { animation-delay: 1.9s, 2.3s; }
.lg-dots circle:nth-child(4) { animation-delay: 2.3s, 2.7s; fill: #fff; }

.lg-hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.lg-mini-brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Archivo", Manrope, sans-serif; font-weight: 800;
  font-size: 15px; letter-spacing: .02em; color: var(--lg-ink); }
.lg-headline { margin: 18px 0 0; font-family: "Archivo", Manrope, sans-serif; font-weight: 800; font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.06; letter-spacing: -.02em; color: #fff; }
.lg-headline span { display: block; background: linear-gradient(90deg, #ff4fb3, #e0167f 45%, #b51fd1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-lead { margin: 0; max-width: 54ch; font-size: 17px; line-height: 1.55; color: var(--lg-muted); }
.lg-feats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lg-feats li { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.45; color: var(--lg-muted); }
.lg-feats b { color: var(--lg-ink); font-weight: 700; }
.lg-feat-ico { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #ff8ccc;
  border: 1.5px solid rgba(255, 79, 179, .7); background: rgba(224, 22, 127, .1); box-shadow: 0 0 18px rgba(224, 22, 127, .25); }

.lg-floats { position: relative; height: 180px; margin-top: 4px; }
.lg-card { position: absolute; border-radius: 16px; background: rgba(38, 33, 54, .86); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12); }
.lg-preview { left: 0; top: 0; width: min(100%, 330px); padding: 14px 16px; }
.lg-preview-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.lg-preview-h span { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lg-ink); }
.lg-preview-h em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffb3dc;
  padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(255, 179, 220, .4); }
.lg-preview dl { margin: 0; display: flex; flex-direction: column; }
.lg-preview dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.lg-preview dt { font-size: 13px; color: var(--lg-muted); }
.lg-preview dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--lg-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lg-preview dd.hl { color: #ffb3dc; }
.lg small.up { font-size: 11.5px; font-weight: 700; color: #6ff0a6; margin-left: 4px; }
.lg-chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.lg-chip b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lg-chip.c1 { left: min(360px, 62%); top: 18px; }
.lg-chip.c2 { left: min(420px, 70%); top: 112px; }
.lg-foot { position: relative; z-index: 1; margin: 0; font-size: 13px; color: var(--lg-faint); }

/* ---------- right column ---------- */
.lg-side { position: relative; display: flex; align-items: center; justify-content: center; padding: 40px 28px;
  background: radial-gradient(70% 50% at 50% 0%, rgba(165, 20, 154, .14), transparent 70%), var(--lg-side);
  border-left: 1px solid rgba(255, 255, 255, .06); }
.lg-side-in { width: 100%; max-width: 400px; display: flex; flex-direction: column; align-items: stretch; }
.lg-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lg-brand img { filter: drop-shadow(0 8px 24px rgba(224, 22, 127, .35)); }
.lg-brand-name { font-family: "Archivo", Manrope, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--lg-muted); }
.lg-title { margin: 22px 0 0; text-align: center; font-family: "Archivo", Manrope, sans-serif; font-weight: 800; font-size: 32px; letter-spacing: -.01em; color: #fff; }
.lg-sub { margin: 6px 0 22px; text-align: center; font-size: 15px; color: var(--lg-muted); }

.lg-form { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035)); border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .1); }
.lg-form .field > label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lg-muted); }
.lg-input { position: relative; display: flex; align-items: center; }
.lg-input > iconify-icon { position: absolute; left: 14px; color: var(--lg-faint); pointer-events: none; }
.lg-input .input { width: 100%; height: 48px; padding-left: 44px; padding-right: 48px; border-radius: 14px; font-size: 15px; }
.lg-input .input:focus { border-color: rgba(255, 79, 179, .7); box-shadow: 0 0 0 3px rgba(224, 22, 127, .25); }
.lg-eye { position: absolute; right: 4px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--lg-muted);
  display: grid; place-items: center; cursor: pointer; }
.lg-eye:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.lg-forgot { align-self: flex-end; margin-top: -4px; font-size: 13.5px; color: #ff9fd4; min-height: 32px; }
.lg-submit { margin-top: 4px; height: 50px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-family: "Archivo", Manrope, sans-serif; font-size: 15px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: var(--lg-grad); box-shadow: 0 12px 30px -8px rgba(224, 22, 127, .75), inset 0 1px 0 rgba(255, 255, 255, .25); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.lg-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -8px rgba(224, 22, 127, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lg-submit:disabled { filter: saturate(.6) brightness(.85); cursor: progress; transform: none; }
.lg-legal { margin-top: 22px; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--lg-muted); }
.lg-legal p { margin: 0 0 6px; }
.lg-legal a { color: #ff9fd4; font-weight: 700; text-decoration: none; }
.lg-legal a:hover { text-decoration: underline; }
.lg-ver { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px !important; color: var(--lg-faint); font-size: 12.5px; }

@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-fade { to { opacity: 1; } }
@keyframes lg-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }

@media (max-width: 1200px) {
  .lg-chip.c2 { display: none; }
}
/* Under 900 px: a short header with the headline, the form takes the full width */
@media (max-width: 900px) {
  .lg { grid-template-columns: minmax(0, 1fr); }
  .lg-hero { padding: 22px 20px 26px; gap: 0; }
  .lg-chart { height: 80%; opacity: .55; }
  .lg-lead, .lg-feats, .lg-floats, .lg-foot { display: none; }
  .lg-hero-in { gap: 6px; }
  .lg-headline { margin-top: 12px; font-size: clamp(24px, 6.4vw, 34px); }
  .lg-side { border-left: 0; padding: 26px 16px 32px; align-items: flex-start; }
  .lg-brand img { width: 60px; height: auto; }
  .lg-title { margin-top: 14px; font-size: 26px; }
  .lg-sub { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lg-line { animation: none; stroke-dashoffset: 0; }
  .lg-area, .lg-dots circle { animation: none; opacity: 1; }
  .lg-submit { transition: none; }
}
