/* =========================================================
   GİRİŞ VE KAYIT EKRANLARI STİLLERİ (auth.css)
   ========================================================= */

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient, linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #fdf4ff 100%));
  padding: 20px;
  font-family: var(--font-kids, 'Fredoka', 'Quicksand', sans-serif);
}

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

.auth-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 12px;
  box-shadow: 0 8px 16px rgba(239, 68, 68, 0.25);
}

.auth-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  font-family: var(--font-kids, sans-serif);
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: #4f46e5;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.btn-auth-submit {
  width: 100%;
  padding: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
  transition: all 0.2s;
  margin-top: 8px;
}

.btn-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.auth-demo-accounts {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1.5px dashed #e2e8f0;
  text-align: center;
}

.auth-demo-accounts p {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
}

.demo-btn-row {
  display: flex;
  gap: 10px;
}

.btn-demo {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-demo:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}

.auth-switch-link {
  text-align: center;
  margin-top: 20px;
  font-size: 0.92rem;
  color: #64748b;
}

.auth-switch-link a {
  color: #4f46e5;
  font-weight: 700;
  text-decoration: none;
}

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

/* Flash Mesajları */
.flash-alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.flash-danger {
  background: #fee2e2;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
}
.flash-success {
  background: #dcfce7;
  border: 1.5px solid #86efac;
  color: #166534;
}
