@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border-card: #e2e8f0;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.18);

  --accent-cyan: #0284c7;
  --accent-emerald: #10b981;
  --accent-rose: #e11d48;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Split-Screen Container */
.auth-split-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Left Showcase Panel */
.auth-showcase-panel {
  flex: 1.1;
  background: linear-gradient(145deg, #1e40af 0%, #1d4ed8 50%, #0369a1 100%);
  color: #ffffff;
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-showcase-panel::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.auth-showcase-panel::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.showcase-header {
  position: relative;
  z-index: 10;
}

.showcase-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.showcase-logo {
  height: 42px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.showcase-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.showcase-brand-badge {
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 700;
}

.showcase-body {
  position: relative;
  z-index: 10;
  max-width: 480px;
  margin: 3rem 0;
}

.showcase-headline {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.showcase-subtext {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.showcase-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.showcase-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.showcase-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Right Form Panel */
.auth-form-panel {
  flex: 0.9;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

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

.auth-form-header {
  margin-bottom: 2.25rem;
}

.auth-form-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.auth-form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Inputs */
.form-group-auth {
  margin-bottom: 1.25rem;
}

.form-label-auth {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper i.lead-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.auth-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.75rem 2.75rem 0.75rem 2.6rem;
  outline: none;
  transition: all 0.2s;
}

.auth-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.toggle-password-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 4px;
}

.toggle-password-btn:hover {
  color: var(--text-primary);
}

.auth-error-alert {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-auth-submit {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.btn-auth-submit:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.auth-form-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .auth-showcase-panel {
    display: none;
  }
  .auth-form-panel {
    flex: 1;
    background: var(--bg-main);
  }
  .auth-form-container {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-card);
  }
}
