html, body {
  height: 100%;
}

.login-split {
  display: flex;
  min-height: 100vh;
}

/* ---------- Left visual panel ---------- */

.login-visual {
  flex: 1.1;
  position: relative;
  background: linear-gradient(160deg, var(--pos-primary) 0%, var(--pos-nav-bg-active) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px;
}

.visual-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.6;
}

.visual-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.circle-1 {
  width: 340px;
  height: 340px;
  top: -100px;
  right: -100px;
}

.circle-2 {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -60px;
}

.visual-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 380px;
  text-align: center;
}

.visual-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.visual-app-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.visual-content h2 {
  font-weight: 700;
  margin-bottom: 28px;
}

.visual-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.visual-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.visual-feature-list i {
  color: #86efac;
}

/* ---------- Right form panel ---------- */

.login-form-panel {
  flex: 1;
  min-width: 380px;
  background: var(--pos-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-form-inner {
  width: 100%;
  max-width: 340px;
}

.login-brand-compact {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--pos-text);
  margin-bottom: 24px;
}

.brand-compact-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

/* ---------- Responsive: hide the visual panel, show a compact brand mark instead ---------- */

@media (max-width: 860px) {
  .login-visual {
    display: none;
  }

  .login-form-panel {
    min-width: 0;
  }

  .login-brand-compact {
    display: flex;
  }
}
