/* css/pages/auth.css */
.auth-container {
  display: flex;
  min-height: 100vh;
}

.auth-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.auth-right {
  flex: 1;
  display: none; /* hidden on mobile */
  background: var(--primary);
  background: linear-gradient(135deg, var(--primary), #ec4899);
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .auth-right { display: flex; }
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--text-muted);
}

.social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: var(--card-bg);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 1.5rem;
  font-family: inherit;
}

.social-btn:hover {
  background: var(--glass-bg);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.divider::before, 
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--glass-border);
}

.divider:not(:empty)::before { margin-right: .5em; }
.divider:not(:empty)::after { margin-left: .5em; }

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.auth-btn {
  width: 100%;
  padding: 0.875rem;
  border-radius: 9999px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
  font-family: inherit;
}

.auth-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

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

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

/* Right side visual */
.dashboard-preview {
  width: 80%;
  height: 60%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  position: relative;
}

.preview-header {
  height: 24px;
  width: 100px;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  margin-bottom: 2rem;
}

.preview-chart {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.preview-stats {
  display: flex;
  gap: 1rem;
}

.preview-stat {
  flex: 1;
  height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}
