/* Bos durum bileseni - empty, empty-state/empty-row, yukleme skeleton (skel), hata durumu (error-state) */

/* ============================================================
   18. EMPTY STATE
   ============================================================ */
.empty {
  text-align: center;
  padding: 48px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.empty i { font-size: 72px; color: #E5E5EA; }
.empty .title { font-size: 22px; font-weight: 600; }
.empty .help { font-size: 14px; color: var(--muted); max-width: 380px; }

/* ============================================================
   23. STATE PATTERNS (empty / loading / error)
   ============================================================ */

/* Empty state */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px;
  padding: 64px 32px;
  text-align: center;
  color: var(--muted);
}
.empty-state .es-icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: var(--gray-surface);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 36px; color: var(--border-strong);
  margin-bottom: 4px;
}
.empty-state .es-title { font-size: 18px; font-weight: 600; color: var(--text); }
.empty-state .es-desc { font-size: 13px; color: var(--muted); max-width: 420px; line-height: 1.5; }
.empty-state .es-cta { margin-top: 8px; }

/* Compact empty (table içi) */
.empty-row {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 36px 16px; color: var(--muted);
}
.empty-row i { font-size: 32px; color: rgba(0,0,0,0.16); }
.empty-row .er-text { font-size: 13px; }

/* Loading skeleton — animated shimmer */
@keyframes p360-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skel {
  background: linear-gradient(90deg,
    rgba(0,0,0,0.04) 0%,
    rgba(0,0,0,0.08) 50%,
    rgba(0,0,0,0.04) 100%);
  background-size: 200% 100%;
  animation: p360-shimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
}
.skel-text { height: 12px; margin: 4px 0; }
.skel-text.lg { height: 16px; }
.skel-text.sm { height: 10px; }
.skel-text.w-25 { width: 25%; }
.skel-text.w-40 { width: 40%; }
.skel-text.w-60 { width: 60%; }
.skel-text.w-80 { width: 80%; }
.skel-circle  { width: 32px; height: 32px; border-radius: 50%; }
.skel-block   { height: 80px; border-radius: 10px; }
.skel-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
}
.skel-row .skel-circle { flex-shrink: 0; }
.skel-row .skel-stack { flex: 1; }

.skel-card {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
}

/* Error state */
.error-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px;
  padding: 56px 32px;
  text-align: center;
}
.error-state .es-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(255,59,48,0.10);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 30px; color: var(--red);
}
.error-state .es-title { font-size: 17px; font-weight: 600; color: var(--text); }
.error-state .es-desc { font-size: 13px; color: var(--muted); max-width: 420px; }
.error-state .es-error-detail {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); background: var(--gray-surface);
  padding: 8px 12px; border-radius: 6px;
  max-width: 480px; word-break: break-all;
}
