/* ===== SIMULTER AUTH SAYFALARI ===== */

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

/* Sol marka paneli */
.auth-brand {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: linear-gradient(135deg, #09090b 0%, #1e1b4b 50%, #09090b 100%);
  position: relative;
  overflow: hidden;
}

.auth-brand::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--brand-primary-glow) 0%, transparent 70%);
  top: 20%;
  left: 30%;
  pointer-events: none;
}

.auth-brand-logo {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.auth-brand-logo span {
  color: var(--brand-primary);
}

.auth-brand-tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
  max-width: 320px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.auth-brand-features {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.auth-brand-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.auth-brand-features li .feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Sağ form paneli */
.auth-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--bg-primary);
}

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

.auth-form-header {
  margin-bottom: 32px;
}

.auth-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

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

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-form .form-group {
  gap: 8px;
}

.auth-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.auth-form .form-input {
  padding: 12px 16px;
  font-size: 0.95rem;
}

/* Şifre güç barı */
.auth-password-strength {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.auth-strength-bar {
  height: 4px;
  flex: 1;
  background: var(--bg-tertiary);
  border-radius: 2px;
  transition: background var(--transition-fast);
}

.auth-strength-bar.weak { background: var(--brand-danger); }
.auth-strength-bar.medium { background: var(--brand-warning); }
.auth-strength-bar.strong { background: var(--brand-secondary); }

.auth-strength-text {
  font-size: 0.75rem;
  margin-top: 4px;
}

.auth-strength-text.weak { color: var(--brand-danger); }
.auth-strength-text.medium { color: var(--brand-warning); }
.auth-strength-text.strong { color: var(--brand-secondary); }

/* Hatırla ve şifremi unuttum */
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-forgot-link {
  font-size: 0.85rem;
  color: var(--brand-primary);
  font-weight: 500;
}

.auth-forgot-link:hover {
  color: var(--brand-primary-hover);
  text-decoration: underline;
}

/* Submit button */
.auth-submit {
  margin-top: 4px;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-primary);
}

/* Alt link */
.auth-alt-link {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

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

.auth-alt-link a:hover {
  text-decoration: underline;
}

/* Hata ve başarı mesajları */
.auth-message {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  display: none;
}

.auth-message.error {
  display: block;
  background: var(--badge-danger-bg);
  color: var(--badge-danger-text);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-message.success {
  display: block;
  background: var(--badge-success-bg);
  color: var(--badge-success-text);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Doğrulama sayfası özel */
.auth-verify-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.auth-verify-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.7;
  margin-bottom: 24px;
}

.auth-verify-email {
  font-weight: 700;
  color: var(--brand-primary);
}

.auth-verify-resend {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 16px;
}

.auth-verify-resend a {
  color: var(--brand-primary);
  font-weight: 600;
  cursor: pointer;
}

/* Tema toggle (auth sayfalarında) */
.auth-theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.auth-theme-toggle:hover {
  background: var(--bg-hover);
  border-color: var(--border-active);
}

/* Geri dön linki */
.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.auth-back-link:hover {
  color: var(--text-primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .auth-brand {
    display: none;
  }

  .auth-form-panel {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .auth-form-panel {
    padding: 24px 16px;
  }

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

  .auth-form .form-input {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}
