/* ==========================================================================
   RAWAIM GAMING — CEZA KAYITLARI (SITE-UNIFIED PREMIUM OBSIDIAN THEME)
   godly-theme.css ile %100 uyumlu: koyu cam yüzeyler, marka kırmızısı (#ff3b4e),
   Outfit + DM Sans + JetBrains Mono tipografi ve akıcı mikro-animasyonlar.
   ========================================================================== */

#viewPunishments {
  --p-red: #ff3b4e;
  --p-red-hover: #ff5263;
  --p-red-soft: rgba(255, 59, 78, 0.14);
  --p-red-border: rgba(255, 59, 78, 0.34);
  --p-green: #34d399;
  --p-green-soft: rgba(52, 211, 153, 0.12);
  --p-amber: #fbbf24;
  --p-amber-soft: rgba(251, 191, 36, 0.12);
  --p-blue: #60a5fa;
  --p-blue-soft: rgba(96, 165, 250, 0.12);
  --p-card: linear-gradient(180deg, rgba(17, 17, 23, 0.88) 0%, rgba(11, 11, 16, 0.94) 100%);
  --p-card-hover: linear-gradient(180deg, rgba(22, 22, 30, 0.92) 0%, rgba(14, 14, 20, 0.96) 100%);
  --p-line: rgba(255, 255, 255, 0.08);
  --p-line-strong: rgba(255, 255, 255, 0.14);
  --p-text-muted: rgba(255, 255, 255, 0.62);
  --p-text-dim: rgba(255, 255, 255, 0.42);
  --p-ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  padding: 112px 24px 96px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  z-index: 10 !important;
}

/* ---------- Ambient Arka Plan Işıkları ---------- */
#viewPunishments .punishments-ambient-blob {
  display: block !important;
  position: fixed !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 0 !important;
  filter: blur(110px) !important;
  opacity: 0.16 !important;
  will-change: transform !important;
}

#viewPunishments .punishments-ambient-blob.blob-1 {
  width: 520px !important;
  height: 520px !important;
  top: -120px !important;
  left: 12% !important;
  background: radial-gradient(circle, rgba(255, 59, 78, 0.72), transparent 70%) !important;
  animation: pOrbFloat1 18s ease-in-out infinite alternate !important;
}

#viewPunishments .punishments-ambient-blob.blob-2 {
  width: 440px !important;
  height: 440px !important;
  bottom: -100px !important;
  right: 10% !important;
  background: radial-gradient(circle, rgba(255, 110, 72, 0.45), transparent 70%) !important;
  animation: pOrbFloat2 22s ease-in-out infinite alternate !important;
}

@keyframes pOrbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(45px, 36px) scale(1.12); }
}

@keyframes pOrbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, -30px) scale(1.1); }
}

/* ---------- Ana İçerik Çerçevesi ---------- */
#viewPunishments .punishments-inner-wrap {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}

#viewPunishments .punishments-inner-wrap::before {
  display: none !important;
}

/* ---------- Hero Başlık Alanı (Siteyle Birebir Uyumlu) ---------- */
#viewPunishments .punishments-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 14px !important;
  margin: 0 0 8px !important;
  padding: 6px 0 0 !important;
  border: none !important;
  animation: pFadeUp 0.6s var(--p-ease) both !important;
}

#viewPunishments .punishments-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.7) !important;
}

#viewPunishments .punishments-eyebrow-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: var(--p-red) !important;
  box-shadow: 0 0 12px var(--p-red) !important;
  animation: pPulseDot 1.7s ease-in-out infinite !important;
}

@keyframes pPulseDot {
  0%, 100% { transform: scale(0.9); opacity: 0.85; box-shadow: 0 0 0 0 rgba(255, 59, 78, 0.65); }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 0 7px rgba(255, 59, 78, 0); }
}

#viewPunishments .punishments-title {
  margin: 0 !important;
  font-family: 'Outfit', 'Barlow Condensed', sans-serif !important;
  font-size: clamp(2.3rem, 4.5vw, 3.65rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.05 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.65) !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

#viewPunishments .punishments-title span {
  color: var(--p-red) !important;
  -webkit-text-fill-color: var(--p-red) !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 0 32px rgba(255, 59, 78, 0.45) !important;
}

#viewPunishments .punishments-subtitle {
  margin: 0 !important;
  max-width: 620px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: var(--p-text-muted) !important;
}

/* Hero Altı Bilgi & Hızlı İtiraz Rozetleri */
#viewPunishments .punishments-hero-pills {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-top: 2px !important;
}

#viewPunishments .punishments-hero-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  background: rgba(16, 17, 23, 0.76) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none !important;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease !important;
}

#viewPunishments .punishments-hero-pill svg {
  color: var(--p-red) !important;
  flex-shrink: 0 !important;
}

#viewPunishments .punishments-hero-pill.is-link:hover {
  border-color: var(--p-red-border) !important;
  background: rgba(255, 59, 78, 0.12) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* ---------- 4'lü Canlı İstatistik Kartları ---------- */
#viewPunishments .punishments-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  overflow: visible !important;
  animation: pFadeUp 0.65s 0.05s var(--p-ease) both !important;
}

#viewPunishments .punishments-stat-card {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  padding: 18px 20px !important;
  background: var(--p-card) !important;
  border: 1px solid var(--p-line) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  overflow: hidden !important;
  transition: transform 0.28s var(--p-ease), border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease !important;
}

#viewPunishments .punishments-stat-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 20px !important;
  right: 20px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent) !important;
  pointer-events: none !important;
}

#viewPunishments .punishments-stat-card::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 59, 78, 0.1), transparent 70%) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  pointer-events: none !important;
}

#viewPunishments .punishments-stat-card:hover {
  transform: translateY(-3px) !important;
  background: var(--p-card-hover) !important;
  border-color: var(--p-red-border) !important;
  box-shadow: 0 24px 48px -20px rgba(255, 59, 78, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
}

#viewPunishments .punishments-stat-card:hover::after {
  opacity: 1 !important;
}

#viewPunishments .pstat-icon-wrap {
  width: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#viewPunishments .pstat-icon-wrap.pstat-total {
  color: var(--p-blue) !important;
  background: var(--p-blue-soft) !important;
  border-color: rgba(96, 165, 250, 0.24) !important;
}

#viewPunishments .pstat-icon-wrap.pstat-active {
  color: var(--p-red) !important;
  background: var(--p-red-soft) !important;
  border-color: rgba(255, 59, 78, 0.28) !important;
}

#viewPunishments .pstat-icon-wrap.pstat-perma {
  color: var(--p-amber) !important;
  background: var(--p-amber-soft) !important;
  border-color: rgba(251, 191, 36, 0.24) !important;
}

#viewPunishments .pstat-icon-wrap.pstat-recent {
  color: var(--p-green) !important;
  background: var(--p-green-soft) !important;
  border-color: rgba(52, 211, 153, 0.24) !important;
}

#viewPunishments .pstat-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
}

#viewPunishments .pstat-val {
  font-family: 'Outfit', sans-serif !important;
  font-size: 27px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  color: #ffffff !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: -0.02em !important;
}

#viewPunishments .pstat-label {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  color: var(--p-text-dim) !important;
}

/* ---------- Cam Kontrol Çubuğu (Arama + Kapsül Filtreler + Yenile) ---------- */
#viewPunishments .punishments-toolbar {
  position: relative !important;
  top: auto !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  background: linear-gradient(180deg, rgba(16, 16, 22, 0.88) 0%, rgba(10, 10, 15, 0.94) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  box-shadow: 0 18px 42px -18px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
  animation: pFadeUp 0.7s 0.1s var(--p-ease) both !important;
}

#viewPunishments .punishments-search-box {
  position: relative !important;
  flex: 1 1 280px !important;
  min-width: 220px !important;
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 11px !important;
  padding: 0 12px !important;
  height: 42px !important;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease !important;
}

#viewPunishments .punishments-search-box:focus-within {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(255, 59, 78, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(255, 59, 78, 0.14) !important;
}

#viewPunishments .punishments-search-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.42) !important;
  margin-right: 9px !important;
  flex-shrink: 0 !important;
}

#viewPunishments #punishmentsSearchInput {
  flex: 1 !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 0 !important;
}

#viewPunishments #punishmentsSearchInput::placeholder {
  color: rgba(255, 255, 255, 0.38) !important;
}

#viewPunishments .punishments-search-clear {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.72) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: background 0.18s ease, color 0.18s ease !important;
}

#viewPunishments .punishments-search-clear:hover {
  background: rgba(255, 59, 78, 0.25) !important;
  color: #ffffff !important;
}

/* Segmented Capsule Filter Track (Navbar ile Birebir Uyumlu) */
#viewPunishments .punishments-filters {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 4px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  flex-wrap: wrap !important;
}

#viewPunishments .punishments-filter-btn {
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: none !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease !important;
}

#viewPunishments .punishments-filter-btn:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

#viewPunishments .punishments-filter-btn.active {
  background: var(--p-red) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(255, 59, 78, 0.38) !important;
}

#viewPunishments .punishments-refresh-btn {
  height: 42px !important;
  padding: 0 16px !important;
  border-radius: 11px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease !important;
}

#viewPunishments .punishments-refresh-btn:hover {
  background: rgba(255, 59, 78, 0.14) !important;
  border-color: var(--p-red-border) !important;
  color: #ffffff !important;
}

#viewPunishments .punishments-refresh-btn.spinning svg {
  animation: pSpin 0.8s linear infinite !important;
}

@keyframes pSpin {
  to { transform: rotate(360deg); }
}

/* ---------- Ana Cam Ceza Tablosu Kartı ---------- */
#viewPunishments .punishments-table-card {
  position: relative !important;
  background: var(--p-card) !important;
  border: 1px solid var(--p-line) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 26px 64px -26px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  overflow: hidden !important;
  padding: 0 !important;
  animation: pFadeUp 0.75s 0.14s var(--p-ease) both !important;
}

#viewPunishments .punishments-table-wrap {
  width: 100% !important;
  overflow-x: auto !important;
}

#viewPunishments .punishments-table {
  width: 100% !important;
  border-collapse: collapse !important;
  display: table !important;
  table-layout: auto !important;
}

#viewPunishments .punishments-table thead {
  display: table-header-group !important;
  background: rgba(255, 255, 255, 0.025) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

#viewPunishments .punishments-table thead th {
  padding: 15px 16px !important;
  text-align: left !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.44) !important;
  white-space: nowrap !important;
  border: none !important;
}

#viewPunishments .punishments-table thead th:last-child,
#viewPunishments #punishmentsTableBody td:last-child {
  text-align: right !important;
  white-space: nowrap !important;
  min-width: 132px !important;
  padding-right: 20px !important;
}

#viewPunishments .punishments-table tbody {
  display: table-row-group !important;
}

#viewPunishments #punishmentsTableBody {
  display: table-row-group !important;
}

#viewPunishments #punishmentsTableBody tr {
  display: table-row !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.048) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  transform: none !important;
  transition: background 0.18s ease, box-shadow 0.18s ease !important;
}

#viewPunishments #punishmentsTableBody tr::before {
  display: none !important;
}

#viewPunishments #punishmentsTableBody tr:last-child {
  border-bottom: none !important;
}

#viewPunishments #punishmentsTableBody tr.row-anim {
  animation: pRowIn 0.35s var(--p-ease) both !important;
}

@keyframes pRowIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

#viewPunishments #punishmentsTableBody tr:hover {
  background: rgba(255, 59, 78, 0.05) !important;
  box-shadow: inset 3px 0 0 var(--p-red) !important;
  transform: none !important;
}

#viewPunishments #punishmentsTableBody tr:has(.p-status-badge.unbanned):hover {
  background: rgba(52, 211, 153, 0.045) !important;
  box-shadow: inset 3px 0 0 var(--p-green) !important;
}

#viewPunishments #punishmentsTableBody tr:has(td[colspan]):hover {
  background: transparent !important;
  box-shadow: none !important;
  cursor: default !important;
}

#viewPunishments #punishmentsTableBody td {
  display: table-cell !important;
  padding: 14px 16px !important;
  vertical-align: middle !important;
  border: none !important;
  background: transparent !important;
}

/* Oyuncu Hücresi */
#viewPunishments .p-player-cell {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  max-width: 265px !important;
}

#viewPunishments .p-player-avatar-wrap {
  width: 40px !important;
  height: 40px !important;
  border-radius: 11px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #16161e !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  transition: border-color 0.2s ease !important;
}

#viewPunishments #punishmentsTableBody tr:hover .p-player-avatar-wrap {
  border-color: rgba(255, 59, 78, 0.45) !important;
}

#viewPunishments .p-player-avatar {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
  border-radius: 0 !important;
}

#viewPunishments .p-player-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
  flex: 1 !important;
}

#viewPunishments .p-player-name {
  font-family: 'DM Sans', 'Outfit', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.2 !important;
}

#viewPunishments .p-player-steamid {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.44) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#viewPunishments .p-copy-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 6px !important;
  border: 1px solid transparent !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.45) !important;
  cursor: pointer !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
}

#viewPunishments .p-copy-btn:hover {
  background: rgba(255, 59, 78, 0.16) !important;
  border-color: rgba(255, 59, 78, 0.35) !important;
  color: #ffffff !important;
}

/* Yetkili Hücresi */
#viewPunishments .p-admin-cell {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  max-width: 165px !important;
  padding: 5px 10px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

#viewPunishments .p-admin-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--p-amber) !important;
  flex-shrink: 0 !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
}

#viewPunishments .p-admin-name {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.84) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Sebep Hücresi */
#viewPunishments .p-reason-cell {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  max-width: 260px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

#viewPunishments .p-ban-type-badge {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 3px 7px !important;
  border-radius: 6px !important;
  background: rgba(255, 59, 78, 0.12) !important;
  border: 1px solid rgba(255, 59, 78, 0.28) !important;
  color: #ff7a88 !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

#viewPunishments .p-reason-text {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Tarih Hücresi */
#viewPunishments .p-date-cell {
  display: flex !important;
  flex-direction: column !important;
}

#viewPunishments .p-date-main {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.56) !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
}

/* Süre Rozeti */
#viewPunishments .p-duration-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

#viewPunishments .p-duration-pill.perma {
  background: var(--p-amber-soft) !important;
  border: 1px solid rgba(251, 191, 36, 0.3) !important;
  color: #fcd34d !important;
}

#viewPunishments .p-duration-pill.temp {
  background: var(--p-blue-soft) !important;
  border: 1px solid rgba(96, 165, 250, 0.28) !important;
  color: #93c5fd !important;
}

/* Durum Rozeti */
#viewPunishments .p-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 11px !important;
  border-radius: 999px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap !important;
}

#viewPunishments .p-status-badge::before {
  content: '' !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

#viewPunishments .p-status-badge.active {
  background: rgba(255, 59, 78, 0.14) !important;
  border: 1px solid rgba(255, 59, 78, 0.38) !important;
  box-shadow: none !important;
  color: #ff7a88 !important;
}

#viewPunishments .p-status-badge.active::before {
  background: var(--p-red) !important;
  box-shadow: 0 0 8px var(--p-red) !important;
}

#viewPunishments .p-status-badge.unbanned {
  background: rgba(52, 211, 153, 0.12) !important;
  border: 1px solid rgba(52, 211, 153, 0.34) !important;
  box-shadow: none !important;
  color: #6ee7b7 !important;
}

#viewPunishments .p-status-badge.unbanned::before {
  background: var(--p-green) !important;
  box-shadow: 0 0 8px var(--p-green) !important;
}

/* Yükleme ve Boş Durum */
#viewPunishments .punishments-table-loading,
#viewPunishments .punishments-table-empty {
  padding: 64px 24px !important;
  text-align: center !important;
}

#viewPunishments .punishments-loading-spinner {
  width: 34px !important;
  height: 34px !important;
  margin: 0 auto 14px !important;
  border-radius: 50% !important;
  border: 2.5px solid rgba(255, 255, 255, 0.08) !important;
  border-top-color: var(--p-red) !important;
  animation: pSpin 0.75s linear infinite !important;
}

#viewPunishments .punishments-table-loading span {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: var(--p-text-muted) !important;
}

#viewPunishments .p-empty-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  color: var(--p-text-dim) !important;
}

#viewPunishments .p-empty-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

#viewPunishments .p-empty-sub {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13.5px !important;
  color: var(--p-text-muted) !important;
}

/* ---------- Sayfalama Alt Çubuğu ---------- */
#viewPunishments .punishments-pagination {
  margin: 0 !important;
  padding: 15px 20px !important;
  background: rgba(255, 255, 255, 0.018) !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

#viewPunishments .punishments-page-info {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  color: var(--p-text-muted) !important;
}

#viewPunishments .punishments-page-info strong {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums !important;
}

#viewPunishments .punishments-page-nav {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

#viewPunishments .p-page-btn {
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 10px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

#viewPunishments .p-page-btn:hover:not(:disabled):not(.active) {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

#viewPunishments .p-page-btn.active {
  background: var(--p-red) !important;
  border-color: var(--p-red) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(255, 59, 78, 0.4) !important;
}

#viewPunishments .p-page-btn:disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
}

#viewPunishments .p-page-dots {
  color: var(--p-text-dim) !important;
  font-family: 'JetBrains Mono', monospace !important;
  padding: 0 4px !important;
}

/* ---------- Ban Detay Modalı (Siteyle Uyumlu Obsidian Cam) ---------- */
#viewPunishments .punishments-modal-backdrop {
  background: rgba(5, 5, 8, 0.82) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

#viewPunishments .punishments-modal {
  max-width: 520px !important;
  background: linear-gradient(180deg, #14141b 0%, #0c0c11 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  padding: 28px !important;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(255, 59, 78, 0.12) !important;
  overflow: hidden !important;
}

#viewPunishments .punishments-modal::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, var(--p-red), transparent) !important;
}

#viewPunishments .punishments-modal-close {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

#viewPunishments .punishments-modal-close:hover {
  background: rgba(255, 59, 78, 0.18) !important;
  border-color: var(--p-red-border) !important;
  color: #ffffff !important;
}

#viewPunishments .pmodal-avatar-wrap {
  width: 60px !important;
  height: 60px !important;
  border-radius: 14px !important;
  border: 1.5px solid rgba(255, 59, 78, 0.42) !important;
}

#viewPunishments .pmodal-name {
  font-family: 'Outfit', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

#viewPunishments .pmodal-detail-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 12px !important;
  padding: 13px 15px !important;
}

#viewPunishments .pmodal-detail-label {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  color: var(--p-text-dim) !important;
}

#viewPunishments .pmodal-detail-val {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

#viewPunishments .pmodal-detail-val.highlight {
  color: #ff7a88 !important;
}

#viewPunishments .pmodal-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

#viewPunishments .pmodal-steam-link {
  flex: 1 1 200px !important;
  height: 42px !important;
  border-radius: 11px !important;
  background: var(--p-red) !important;
  border: none !important;
  color: #ffffff !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(255, 59, 78, 0.34) !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

#viewPunishments .pmodal-steam-link:hover {
  background: var(--p-red-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 28px rgba(255, 59, 78, 0.44) !important;
}

#viewPunishments .pmodal-copy-steamid-btn {
  flex: 1 1 150px !important;
  height: 42px !important;
  border-radius: 11px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

#viewPunishments .pmodal-copy-steamid-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

#viewPunishments .pmodal-appeal-link {
  width: 100% !important;
  height: 40px !important;
  border-radius: 11px !important;
  background: rgba(251, 191, 36, 0.08) !important;
  border: 1px solid rgba(251, 191, 36, 0.26) !important;
  color: #fcd34d !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

#viewPunishments .pmodal-appeal-link:hover {
  background: rgba(251, 191, 36, 0.16) !important;
  border-color: rgba(251, 191, 36, 0.45) !important;
  color: #ffffff !important;
}

@keyframes pFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive (Tablet & Mobil) ---------- */
@media (max-width: 1024px) {
  #viewPunishments .punishments-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 860px) {
  #viewPunishments {
    padding: 96px 16px 76px !important;
  }

  #viewPunishments .punishments-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #viewPunishments .punishments-filters {
    width: 100% !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    border-radius: 12px !important;
    justify-content: flex-start !important;
  }

  #viewPunishments .punishments-refresh-btn {
    justify-content: center !important;
  }

  /* Mobilde tablo satırlarını ferah kartlara dönüştür */
  #viewPunishments .punishments-table,
  #viewPunishments .punishments-table tbody,
  #viewPunishments #punishmentsTableBody {
    display: block !important;
    width: 100% !important;
  }

  #viewPunishments .punishments-table thead {
    display: none !important;
  }

  #viewPunishments #punishmentsTableBody {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  #viewPunishments #punishmentsTableBody tr {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "player status"
      "reason reason"
      "admin dur"
      "date date" !important;
    gap: 10px 12px !important;
    padding: 14px 16px !important;
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 14px !important;
  }

  #viewPunishments #punishmentsTableBody tr:has(td[colspan]) {
    display: block !important;
    padding: 40px 16px !important;
  }

  #viewPunishments #punishmentsTableBody td {
    display: block !important;
    padding: 0 !important;
    text-align: left !important;
  }

  #viewPunishments #punishmentsTableBody td:nth-child(1) { grid-area: player !important; }
  #viewPunishments #punishmentsTableBody td:nth-child(2) { grid-area: admin !important; }
  #viewPunishments #punishmentsTableBody td:nth-child(3) { grid-area: reason !important; }
  #viewPunishments #punishmentsTableBody td:nth-child(4) { grid-area: date !important; }
  #viewPunishments #punishmentsTableBody td:nth-child(5) { grid-area: dur !important; justify-self: end !important; }
  #viewPunishments #punishmentsTableBody td:nth-child(6) { grid-area: status !important; justify-self: end !important; align-self: start !important; }

  #viewPunishments .p-reason-cell {
    padding: 8px 10px !important;
    background: rgba(255, 59, 78, 0.05) !important;
    border: 1px solid rgba(255, 59, 78, 0.16) !important;
    border-radius: 9px !important;
  }

  #viewPunishments .p-reason-text {
    white-space: normal !important;
  }
}

@media (max-width: 520px) {
  #viewPunishments .punishments-stats-grid {
    grid-template-columns: 1fr !important;
  }

  #viewPunishments .pmodal-details-grid {
    grid-template-columns: 1fr !important;
  }
}
