/* ==========================================================
   Professional split-screen auth layout
   Additive to EasyAdmin-pro's main.css — uses the same design
   tokens (CSS variables) so it stays consistent in light/dark mode.
   ========================================================== */

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

/* ---- Left: brand panel (fixed dark palette, deliberate — not theme-toggled) ---- */
.auth-split-brand {
  flex: 1 1 44%;
  max-width: 560px;
  background: linear-gradient(160deg, #18181b 0%, #27272a 55%, #1c1c1f 100%);
  color: #f4f4f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.auth-split-brand::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  top: -160px;
  right: -160px;
}

.auth-split-brand::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  bottom: -140px;
  left: -120px;
}

.auth-split-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f4f4f5;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.auth-split-logo i {
  font-size: 1.4rem;
}

.auth-split-brand h2 {
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}

.auth-split-brand p.auth-split-lead {
  font-size: 0.95rem;
  color: #d4d4d8;
  margin-bottom: 2.5rem;
  max-width: 380px;
  position: relative;
  z-index: 1;
}

.auth-split-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  z-index: 1;
}

.auth-split-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #e4e4e7;
}

.auth-split-features li i {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #ffffff;
}

/* ---- Right: form panel ---- */
.auth-split-form {
  flex: 1 1 56%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--background-color);
}

.auth-split-form .auth-container {
  max-width: 400px;
}

.auth-split-form .auth-logo {
  display: none; /* brand already shown in left panel */
}

.auth-split-form .auth-card {
  border: none;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.auth-split-form .auth-card-header {
  text-align: left;
  margin-bottom: 1.75rem;
}

.auth-split-form .auth-title {
  font-size: 1.6rem;
}

/* ---- Responsive: single column on tablets/phones ---- */
@media (max-width: 991.98px) {
  .auth-split-brand {
    display: none;
  }
  .auth-split-form {
    flex: 1 1 100%;
  }
  .auth-split-form .auth-logo {
    display: flex;
  }
  .auth-split-form .auth-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-2xl);
  }
  .auth-split-form .auth-card-header {
    text-align: center;
  }
}
