/* Login — simple split-screen. Left = concise branding, right = focused form. */

.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }

.brandpane {
  position: relative; overflow: hidden; color: #fff; padding: 54px 56px;
  display: flex; flex-direction: column;
  background: radial-gradient(120% 120% at 15% 10%, var(--red) 0%, var(--red-deep) 55%, #4c0703 100%);
}
.brandpane .logo .wordmark b { color: #fff; }
.brandpane .logo .wordmark em { color: rgba(255, 255, 255, .72); }
.brandpane .mark { background: rgba(255, 255, 255, .16); }
.brandpane .pane-body { margin-top: auto; max-width: 30ch; }
.brandpane h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.06; letter-spacing: -.6px; font-weight: 800; }
.brandpane p { color: rgba(255, 255, 255, .84); margin: 16px 0 0; font-size: 15px; }
.trust { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .92); }
.trust .icon { flex: none; opacity: .9; }

/* subtle, restrained background motif (single element) */
.motif { position: absolute; inset: 0; opacity: .35; pointer-events: none; }
.motif i {
  position: absolute; right: -120px; top: -100px; width: 420px; height: 420px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%;
}
.motif i::after {
  content: ""; position: absolute; inset: 70px; border: 1px dashed rgba(255, 255, 255, .18); border-radius: 50%;
}

.formpane { display: grid; place-items: center; padding: 40px 24px; position: relative; }
.formpane .theme-slot { position: absolute; top: 18px; right: 18px; }
.login-card { width: 100%; max-width: 384px; }
.login-card > .logo { margin-bottom: 26px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 700; color: var(--red); margin: 0; }
.login-card h1 { font-size: 26px; letter-spacing: -.4px; margin: 10px 0 6px; }
.login-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 22px; }

.login-foot { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); }
.login-foot a { font-weight: 600; text-decoration: none; }
.secnote {
  margin-top: 26px; display: flex; align-items: center; gap: 8px; font-size: 12px;
  color: var(--muted); border-top: 1px dashed var(--line); padding-top: 16px;
}
.secnote .icon { flex: none; }

/* Mobile: branding stacks above the form; no large empty panel. */
@media (max-width: 860px) {
  .login-wrap { grid-template-columns: 1fr; }
  .brandpane {
    padding: 30px 24px; min-height: auto;
  }
  .brandpane .pane-body { margin-top: 18px; max-width: none; }
  .brandpane h2 { font-size: 24px; }
  .brandpane p { font-size: 14px; }
  .trust { display: none; }
  .formpane { padding: 28px 20px 44px; }
}
