.auth-split-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-body);
}

.auth-showcase-panel {
  display: flex;
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  background-color: #0b1120;
}

.auth-showcase-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.auth-showcase-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, transparent 40%, rgba(5, 10, 20, 0.4) 100%);
  pointer-events: none;
}

.auth-showcase-branding {
  position: relative;
  z-index: 3;
  padding: 3rem 3.5rem;
  display: flex;
  align-items: flex-start;
}

.auth-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 1.1rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.auth-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.auth-form-panel {
  display: flex;
  flex: 1 1 50%;
  min-height: 100vh;
  padding: 2.5rem 3rem;
  flex-direction: column;
  position: relative;
  background-color: var(--bg-body);
}

.auth-top-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
  z-index: 10;
}

.auth-select-control {
  padding: 0.4rem 0.75rem;
  font-size: 0.825rem;
  border-radius: var(--radius-md, 0.375rem);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  width: auto;
  cursor: pointer;
}

.auth-card-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  padding: 1.5rem 0;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  border-radius: 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2), 0 0 1px 1px var(--border-color);
  padding: 2.5rem;
  animation: authFadeIn 0.3s ease-out;
}

@keyframes authFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .auth-split-layout {
    flex-direction: column;
  }

  .auth-showcase-panel {
    display: none;
  }

  .auth-form-panel {
    flex: 1 1 100%;
    padding: 2rem 1.25rem;
    min-height: 100vh;
    justify-content: center;
  }

  .auth-card {
    padding: 2rem 1.5rem;
    max-width: 440px;
  }
}
