/* Login Page — Split Layout */

.login-page {
  display: flex;
  min-height: 100vh;
  background: var(--bg-page);
}

/* Brand Panel (left) — deep ink + amber warmth */
.login-brand {
  flex: 1;
  background: linear-gradient(145deg, #0c0a1e 0%, #14112e 50%, #2d1a08 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

/* Amber glow top-right */
.login-brand::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.18) 0%, transparent 65%);
  border-radius: 50%;
}

/* Indigo glow bottom-left */
.login-brand::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(67, 56, 202, 0.2) 0%, transparent 65%);
  border-radius: 50%;
}

.brand-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 400px;
}

.brand-logo-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 44px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.brand-tagline {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 48px;
}

.brand-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.brand-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(217, 119, 6, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  color: #fbbf24;
}

.feature-text {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.5;
}

.feature-text strong {
  color: #e2e8f0;
  display: block;
  margin-bottom: 2px;
}

/* Form Panel (right) */
.login-form-panel {
  width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px;
  background: var(--bg-card);
  position: relative;
}

.login-card {
  width: 100%;
  max-width: 360px;
  animation: fadeInUp 0.4s ease-out;
}

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

.login-card .logo-mobile {
  display: none;
  text-align: center;
  margin-bottom: 32px;
}

.login-card .logo-mobile svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
}

.login-card .logo-mobile h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.login-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.login-subheading {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.login-card .form-group {
  margin-bottom: 20px;
}

.login-card .form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.login-card .form-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-page);
  transition: all var(--transition-fast);
}

.login-card .form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-ring);
  background: var(--bg-card);
}

.login-card .form-input::placeholder {
  color: var(--text-placeholder);
}

.login-btn {
  width: 100%;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.login-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.login-btn:hover {
  background: var(--primary-hover);
}

.login-btn:hover::after {
  transform: translateX(100%);
}

.login-btn:active {
  transform: scale(0.98);
}

.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 16px;
  text-align: center;
  display: none;
}

.login-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .login-brand {
    display: none;
  }
  .login-form-panel {
    width: 100%;
    min-height: 100vh;
  }
  .login-card .logo-mobile {
    display: block;
  }
}
