/* Meydan Yönetim Paneli — sade tema */
:root {
  --meydan-sidebar: #1f2937;
  --meydan-sidebar-hover: #374151;
  --meydan-accent: #6366f1;
  --meydan-bg: #f5f6fa;
}

html, body { height: 100%; }
body { background: var(--meydan-bg); font-size: 14px; }

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

.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--meydan-sidebar);
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  letter-spacing: .3px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
}
.sidebar .brand i { color: var(--meydan-accent); }
.sidebar .nav-link {
  color: #d1d5db;
  padding: 9px 20px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar .nav-link:hover { background: var(--meydan-sidebar-hover); color: #fff; }
.sidebar .nav-link.active { background: var(--meydan-accent); color: #fff; }
.sidebar .nav-section {
  padding: 14px 20px 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #9ca3af;
}

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.content { padding: 24px; }

.page-title { font-size: 20px; font-weight: 600; margin: 0; }

.card { border: 1px solid #e5e7eb; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.stat-card .stat-value { font-size: 26px; font-weight: 700; line-height: 1.1; }
.stat-card .stat-label { color: #6b7280; font-size: 12px; }
.stat-card .stat-icon { font-size: 28px; opacity: .35; }

.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: #6b7280; white-space: nowrap; }
.table td { vertical-align: middle; }
.table .actions { white-space: nowrap; }

.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #e5e7eb; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-placeholder {
  display: inline-flex; align-items: center; justify-content: center;
  color: #6b7280; font-weight: 600; background: #e5e7eb;
}

pre.json { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; padding: 8px; font-size: 12px; max-height: 300px; overflow: auto; margin: 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.text-muted-sm { color: #6b7280; font-size: 12px; }

.translation-table textarea { min-height: 38px; resize: vertical; }
.translation-table td.key { width: 28%; }
.translation-table td.def { width: 32%; }
.translation-changed { background: #fef9c3 !important; }

@media (max-width: 992px) {
  .layout { flex-direction: column; }
  .sidebar { width: 100%; }
}
