/* ==========================================================================
   CNRAS Web Admin Suite - Responsive Master Stylesheet (Fixed Layout)
   ========================================================================== */

:root {
  --bg-dark: #070b14;
  --bg-panel: rgba(14, 22, 38, 0.82);
  --bg-card: rgba(21, 32, 54, 0.65);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(0, 242, 254, 0.25);
  
  --primary: #00f2fe;
  --primary-glow: rgba(0, 242, 254, 0.4);
  --secondary: #4facfe;
  --accent: #7f00ff;
  
  --success: #00e676;
  --warning: #ff9100;
  --danger: #ff5252;
  --info: #29b6f6;
  
  --text-main: #f0f4f8;
  --text-muted: #8a99ad;
  
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.dark-theme {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 10% 10%, rgba(0, 242, 254, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 90%, rgba(127, 0, 255, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography & Helper Classes */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-green { color: var(--success) !important; }
.text-blue { color: var(--info) !important; }
.text-orange { color: var(--warning) !important; }
.text-red, .text-danger { color: var(--danger) !important; }
.text-muted { color: var(--text-muted) !important; }
.font-mono { font-family: 'JetBrains Mono', monospace !important; }
.font-weight-bold { font-weight: 700 !important; }
.text-center { text-align: center !important; }
.text-sm { font-size: 0.85rem !important; }
.text-xs { font-size: 0.75rem !important; }
.hidden { display: none !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }

/* Glassmorphism Panel Base */
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Buttons */
button, .btn-primary, .btn-secondary, .btn-danger, .btn-warning, .btn-discord {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #000;
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
  border: 1px solid var(--border-glass);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-danger {
  background: linear-gradient(135deg, #ff5252, #d32f2f);
  color: #fff;
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 82, 82, 0.4);
}

.btn-warning {
  background: linear-gradient(135deg, #ff9100, #f57c00);
  color: #000;
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  width: 100%;
}
.btn-discord:hover {
  background: #4752C4;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn-sm {
  padding: 0.35rem 0.75rem !important;
  font-size: 0.8rem !important;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-icon:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* ========================================================================= */
/* DISCORD LOGIN OVERLAY */
/* ========================================================================= */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 8, 16, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-card {
  width: 100%;
  max-width: 440px;
  padding: 2.5rem;
  text-align: center;
}

.brand-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #000;
  box-shadow: 0 0 25px var(--primary-glow);
}

.login-title { font-size: 1.8rem; font-weight: 800; }
.login-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.25rem; }

.login-features {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem;
  border-radius: var(--radius-sm);
}
.feature-item { font-size: 0.85rem; display: flex; align-items: center; gap: 0.6rem; }

.alert-box {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 1rem;
}
.alert-error {
  background: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.3);
  color: var(--danger);
}

/* ========================================================================= */
/* MAIN DASHBOARD LAYOUT */
/* ========================================================================= */
.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-nav {
  height: 72px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0;
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-icon { font-size: 1.6rem; color: var(--primary); }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: 1px; display: block; }
.brand-sub { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn {
  background: transparent;
  color: var(--text-muted);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.nav-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-btn.active {
  color: var(--primary);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.badge-count {
  background: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  margin-left: 0.3rem;
  font-weight: 700;
}

.user-profile-widget {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}
.user-meta { display: flex; flex-direction: column; }
.user-name { font-weight: 700; font-size: 0.9rem; }
.role-badge { font-size: 0.7rem; color: var(--primary); font-weight: 600; }

.main-content {
  padding: 2rem;
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* ========================================================================= */
/* OVERVIEW DASHBOARD */
/* ========================================================================= */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.3s ease; }

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

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.section-header h2 { font-size: 1.4rem; font-weight: 700; }

/* Banner Box */
.banner-box {
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-left: 4px solid var(--success);
}
.banner-title { font-size: 1rem; font-weight: 700; }
.banner-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Stats Cards Grid (Responsive 5-column or auto grid) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.bg-blue { background: rgba(0, 242, 254, 0.15); color: #00f2fe; }
.bg-red { background: rgba(255, 82, 82, 0.15); color: #ff5252; }
.bg-orange { background: rgba(255, 145, 0, 0.15); color: #ff9100; }
.bg-green { background: rgba(0, 230, 118, 0.15); color: #00e676; }

.stat-label { font-size: 0.8rem; color: var(--text-muted); display: block; }
.stat-value { font-size: 1.7rem; font-weight: 800; margin-top: 0.1rem; display: block; }

/* Grid Layouts */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Card Box */
.card-box {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.card-header {
  margin-bottom: 1.2rem;
}
.card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Responsive Tables & Overflow Containment */
.table-responsive {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}
.data-table th {
  padding: 0.8rem 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.data-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}
.data-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

/* License Column Truncation Fix (Prevents Table Overflow & Squishing Actions Column) */
.cell-identifier {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.78rem;
  display: inline-block;
  vertical-align: middle;
}

/* Ensure Actions column never gets squished */
.data-table th:last-child, .data-table td:last-child {
  white-space: nowrap;
  text-align: right;
  width: 110px;
}

/* Permissions Badges Grid */
.perm-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.perm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.perm-badge.active {
  background: rgba(0, 230, 118, 0.15);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.3);
}
.perm-badge.inactive {
  background: rgba(255, 82, 82, 0.15);
  color: #ff5252;
  border: 1px solid rgba(255, 82, 82, 0.3);
}

/* ========================================================================= */
/* LIVE IN-GAME CHAT STREAM (READ-ONLY) */
/* ========================================================================= */
.chat-layout {
  display: flex;
  flex-direction: column;
  height: 620px;
  background: rgba(14, 22, 38, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.chat-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(0, 0, 0, 0.25);
}

.chat-bubble {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.1rem;
  max-width: 85%;
  align-self: flex-start;
}

.chat-bubble.chat-web {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.25);
  align-self: flex-end;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
}
.chat-sender { font-weight: 700; color: var(--primary); }
.chat-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
}
.badge-cop { background: rgba(41, 182, 246, 0.2); color: #29b6f6; }
.badge-medic { background: rgba(0, 230, 118, 0.2); color: #00e676; }
.badge-civ { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); }
.badge-staff { background: rgba(255, 145, 0, 0.2); color: #ff9100; }

.chat-text { font-size: 0.92rem; line-height: 1.45; word-break: break-word; }

/* ========================================================================= */
/* SEARCH & TOGGLE SLIDER CONTROLS */
/* ========================================================================= */
.search-filter-bar, .filter-controls-bar {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  flex: 1;
  min-width: 260px;
}
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  width: 100%;
  font-size: 0.9rem;
}

/* Slider Switch Toggle */
.toggle-container {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}
.toggle-label { font-size: 0.85rem; }

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s ease;
  border-radius: 24px;
  border: 1px solid var(--border-glass);
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .3s ease;
  border-radius: 50%;
}
input:checked + .slider { background-color: var(--success); }
input:checked + .slider:before { transform: translateX(20px); }

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 200px;
}
.filter-group label { font-size: 0.78rem; color: var(--text-muted); }
.filter-group input, .filter-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  color: #fff;
  outline: none;
  font-size: 0.88rem;
}

/* ========================================================================= */
/* REPORT STAFF NOTES TIMELINE */
/* ========================================================================= */
.notes-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.note-card {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--primary);
  padding: 0.8rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.note-author { font-weight: 700; font-size: 0.82rem; color: var(--primary); }
.note-time { font-size: 0.72rem; color: var(--text-muted); margin-left: 0.5rem; }
.note-body { font-size: 0.88rem; margin-top: 0.3rem; color: var(--text-main); }

/* ========================================================================= */
/* MODALS & OVERFLOW FIXES */
/* ========================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 20, 0.88);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-card {
  width: 100%;
  max-width: 560px;
  padding: 2rem;
  background: #0e1524;
  box-sizing: border-box;
  overflow: hidden;
}
.modal-lg { max-width: 720px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.modal-header h3 { font-size: 1.2rem; font-weight: 700; }
.btn-close-modal { background: transparent; color: var(--text-muted); font-size: 1.25rem; }

.code-box {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-glass-glow);
  padding: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.code-text { font-size: 1.8rem; font-weight: 800; letter-spacing: 3px; color: var(--primary); }

/* Player Profile Header in Modal (FIXED OVERFLOW BUG) */
.player-profile-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  width: 100%;
  box-sizing: border-box;
}

.profile-meta {
  width: 100%;
  overflow: hidden;
}
.profile-meta h2 {
  font-size: 1.5rem;
  font-weight: 800;
  word-break: break-word;
}
.profile-meta span {
  font-size: 0.78rem;
  word-break: break-all;
  display: block;
  margin-top: 0.2rem;
}

/* Quick Stats Wrap Fix */
.profile-quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  justify-content: space-between;
}

.quick-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.quick-stat strong {
  font-size: 1rem;
  word-break: break-word;
  margin-top: 0.15rem;
}

/* Action Panels & Forms */
.action-tab-bar {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.5rem;
  overflow-x: auto;
}
.action-tab-btn {
  background: transparent;
  color: var(--text-muted);
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.action-tab-btn.active {
  color: var(--primary);
  background: rgba(0, 242, 254, 0.12);
}

.action-panel { display: none; }
.action-panel.active { display: block; }

.form-group { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { font-size: 0.82rem; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius-sm);
  background: #151d2f;
  border-left: 4px solid var(--primary);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.9rem;
  animation: slideIn 0.3s ease;
}
.toast-success { border-left-color: var(--success); }
.toast-error { border-left-color: var(--danger); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; }
  .top-nav { padding: 0 1rem; }
  .nav-tabs { display: none; }
  .main-content { padding: 1rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ========================================================================= */
/* ANTI-CHEAT EVIDENCE VAULT GRID & CARDS */
/* ========================================================================= */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.col-span-all { grid-column: 1 / -1; }

.evidence-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.evidence-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 82, 82, 0.4);
}

.evidence-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 190px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.evidence-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.evidence-card:hover .evidence-thumb-img {
  transform: scale(1.05);
}

.evidence-thumb-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evidence-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.badge-image { background: rgba(0, 242, 254, 0.85); color: #000; }
.badge-video { background: rgba(255, 145, 0, 0.9); color: #000; }

.evidence-body {
  padding: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.evidence-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.evidence-player-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.evidence-reason {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.evidence-meta-row {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.evidence-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

