/* ==========================================================================
   TİPSMMS & CPAS AÇILIŞ ORANLAR TABLOSU VE CANLI ORAN ANALİZ MOTORU CSS
   ========================================================================== */

:root {
  --bg-dark: #0d1117;
  --bg-navbar: #0a0d13;
  --bg-header-band: #132235;
  --bg-card: #162232;
  --bg-card-border: #23374d;
  --text-main: #f0f6fc;
  --text-muted: #8b949e;
  --accent-orange: #f59e0b;
  --accent-gold: #eab308;
  --accent-blue: #0284c7;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-purple: #8b5cf6;
  
  /* Tablo Renkleri (Görselle Birebir Uyumlu) */
  --th-bg-primary: #122436;
  --th-bg-secondary: #1a324a;
  --th-border: #2b4b6f;
  --td-bg-yellow: #FAF5D8;
  --td-bg-hover: #F2EBB8;
  --td-text: #1a1a1a;
  --td-border: #dcd4a4;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* -------------------------------------------------------------
   1. ÜST NAVBAR (Görseldeki Siyah Bar)
   ------------------------------------------------------------- */
.cpas-navbar {
  background-color: var(--bg-navbar);
  border-bottom: 1px solid #1f2937;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #e67e22 0%, #d35400 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(230, 126, 34, 0.6);
  border: 2px solid #f39c12;
}

.logo-title-group {
  display: flex;
  flex-direction: column;
}

.logo-main-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo-sub-text {
  font-size: 11px;
  color: var(--accent-orange);
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-item a {
  color: #c9d1d9;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-item a:hover, .nav-item a.active {
  color: #fff;
}

.nav-item .dropdown-arrow {
  font-size: 10px;
  color: #8b949e;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-telegram {
  background-color: #0088cc;
  color: #fff;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0, 136, 204, 0.4);
}

.btn-telegram:hover {
  background-color: #0099e6;
  transform: translateY(-1px);
}

.vip-badge-pill {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* -------------------------------------------------------------
   2. BAŞLIK ŞERİDİ (AÇILIŞ ORANLAR TABLOSU)
   ------------------------------------------------------------- */
.header-hero-band {
  background: linear-gradient(180deg, #122132 0%, #17283c 100%);
  padding: 24px 20px 20px;
  text-align: center;
  border-bottom: 2px solid #233e5c;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  color: var(--accent-orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-title {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* -------------------------------------------------------------
   3. KAYITLI FİLTRELER & ARAÇ ÇUBUĞU (Toolbar)
   ------------------------------------------------------------- */
.toolbar-strip {
  background-color: #101c29;
  border-bottom: 1px solid #1e334a;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-switch-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #e6edf3;
}

.form-select-custom {
  background-color: #192b3d;
  color: #fff;
  border: 1px solid #2d4a6a;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

.form-select-custom:focus {
  border-color: var(--accent-orange);
}

.saved-filter-label {
  font-size: 12.5px;
  color: #8b949e;
  font-style: italic;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-custom {
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-navy {
  background-color: #12283d;
  color: #fff;
  border: 1px solid #234567;
}

.btn-navy:hover {
  background-color: #1a3957;
}

.btn-orange {
  background-color: #d97706;
  color: #fff;
}

.btn-orange:hover {
  background-color: #f59e0b;
}

.btn-green {
  background-color: #059669;
  color: #fff;
}

.btn-green:hover {
  background-color: #10b981;
}

/* -------------------------------------------------------------
   4. AKILLI ORAN ARAMA MOTORU & CANLI BİLGİLENDİRME BÖLÜMÜ
   ------------------------------------------------------------- */
.odds-analyzer-section {
  padding: 16px 24px;
  background: #0d1722;
  border-bottom: 1px solid #1d334b;
}

.analyzer-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
}

@media (max-width: 1100px) {
  .analyzer-grid {
    grid-template-columns: 1fr;
  }
}

/* Sol Kutu: Oran Girişi ve + ile Ekleme */
.analyzer-card {
  background-color: #132233;
  border: 1px solid #203a55;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1e3752;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: #f39c12;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Dinamik Oran Kutuları Container */
.odds-input-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.odd-input-pill {
  background-color: #1a2f44;
  border: 1px solid #2d4f73;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 4px 8px;
  gap: 6px;
  transition: all 0.2s;
}

.odd-input-pill:focus-within {
  border-color: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.odd-pill-label {
  font-size: 12px;
  font-weight: 700;
  color: #93c5fd;
  white-space: nowrap;
}

.odd-pill-input {
  width: 62px;
  background: #0f1d2c;
  border: 1px solid #2a4664;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 4px 2px;
  outline: none;
}

.odd-pill-input:focus {
  border-color: #f59e0b;
  background: #14283c;
}

.odd-pill-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 14px;
  cursor: pointer;
  padding: 0 2px;
  display: flex;
  align-items: center;
  transition: transform 0.15s;
}

.odd-pill-remove:hover {
  transform: scale(1.3);
}

/* + Oran Ekle Butonu */
.btn-add-odd {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-add-odd:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-1px);
}

/* Ekle Popover Menüsü */
.add-odd-popover {
  position: absolute;
  background-color: #1a2f44;
  border: 1px solid #355880;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  padding: 8px;
  display: none;
  z-index: 500;
  width: 260px;
  max-height: 320px;
  overflow-y: auto;
}

.popover-item {
  padding: 8px 10px;
  font-size: 13px;
  color: #e2e8f0;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}

.popover-item:hover {
  background-color: #264361;
  color: #fff;
}

.popover-item span.code {
  font-size: 11px;
  color: #94a3b8;
  background: #0f1d2c;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Alt Kontroller: Tolerans ve Temizle */
.analyzer-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #1c324a;
}

/* -------------------------------------------------------------
   TÖLERANS AÇMA/KAPAMA & ASİMETRİK DEĞERLER (-0.15 / +0.20)
   ------------------------------------------------------------- */
.tolerance-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tolerance-toggle-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tol-label {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tol-switch-btn {
  background: #1e334a;
  border: 1px solid #335377;
  color: #94a3b8;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.tol-switch-btn .tol-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #64748b;
  transition: all 0.25s;
}

.tol-switch-btn.active {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-color: #34d399;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.tol-switch-btn.active .tol-status-dot {
  background-color: #ffffff;
  box-shadow: 0 0 6px #ffffff;
}

.tol-inputs-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f1c2b;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #233e5c;
  transition: opacity 0.2s, filter 0.2s;
}

.tol-inputs-group.disabled {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(1);
}

.tol-input-box {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
}

.tol-num-input {
  width: 52px;
  background: #16283b;
  border: 1px solid #2d4f73;
  color: #38bdf8;
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
  border-radius: 4px;
  padding: 2px 4px;
  outline: none;
}

.tol-num-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.tol-presets-box {
  display: flex;
  gap: 4px;
  margin-left: 4px;
}

.btn-tol-preset {
  background: #1a2f44;
  border: 1px solid #2e4d70;
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-tol-preset:hover, .btn-tol-preset.active {
  background: #254466;
  border-color: #38bdf8;
  color: #38bdf8;
}

.tolerance-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #94a3b8;
}

.tolerance-btn {
  background: #192b3d;
  border: 1px solid #2d4b6c;
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.tolerance-btn.active {
  background: #0284c7;
  border-color: #38bdf8;
  color: #fff;
}

/* -------------------------------------------------------------
   SAĞ KUTU: CANLI BİLGİLENDİRME & İSTATİSTİK TABLOSU
   ------------------------------------------------------------- */
.stats-card {
  background-color: #132233;
  border: 1px solid #203a55;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stats-top-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stats-badge-count {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  background: #1e334a;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #2a4664;
}

.stats-badge-count strong {
  color: #f59e0b;
  font-size: 18px;
  margin-right: 4px;
}

/* İstatistik Metrikleri Tablosu */
.stats-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.stat-metric-box {
  background: #0e1a27;
  border: 1px solid #1c334d;
  border-radius: 6px;
  padding: 8px 10px;
  text-align: center;
}

.stat-label {
  font-size: 11px;
  color: #8da2ba;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.stat-pct {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}

.stat-bar-container {
  height: 4px;
  background: #1e3044;
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.4s ease-in-out;
}

/* Renkler */
.stat-ms1 { color: #10b981; }
.stat-ms1 .stat-bar-fill { background-color: #10b981; }

.stat-msx { color: #f59e0b; }
.stat-msx .stat-bar-fill { background-color: #f59e0b; }

.stat-ms2 { color: #ef4444; }
.stat-ms2 .stat-bar-fill { background-color: #ef4444; }

.stat-o25 { color: #38bdf8; }
.stat-o25 .stat-bar-fill { background-color: #38bdf8; }

.stat-u25 { color: #94a3b8; }
.stat-u25 .stat-bar-fill { background-color: #94a3b8; }

.stat-btsy { color: #a855f7; }
.stat-btsy .stat-bar-fill { background-color: #a855f7; }

/* En Çok Gelen Skorlar & AI Özeti */
.stats-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0a131e;
  border: 1px solid #1a2f44;
  border-radius: 6px;
  padding: 8px 12px;
}

.top-scores-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.chip-score {
  background: #172d42;
  border: 1px solid #294767;
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.chip-score span {
  color: #f59e0b;
}

.ai-insight-text {
  font-size: 12px;
  color: #38bdf8;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* -------------------------------------------------------------
   5. BİREBİR AÇILIŞ ORANLAR TABLOSU (Görsel Tasarımı)
   ------------------------------------------------------------- */
.table-wrapper-outer {
  flex: 1;
  overflow: auto;
  padding: 0;
  background-color: #0b121b;
  position: relative;
}

.opening-odds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  white-space: nowrap;
}

/* Üst Başlık Hiyerarşisi */
.opening-odds-table thead tr:first-child th {
  background-color: var(--th-bg-primary);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 10px;
  border: 1px solid var(--th-border);
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 20;
}

.opening-odds-table thead tr:nth-child(2) th {
  background-color: var(--th-bg-secondary);
  color: #d1d5db;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 8px;
  border: 1px solid var(--th-border);
  text-align: center;
  position: sticky;
  top: 36px;
  z-index: 20;
}

/* Sütun Altı Filtre Satırı (Görseldeki "Filtre...") */
.opening-odds-table thead tr:nth-child(3) th {
  background-color: #102131;
  padding: 4px 6px;
  border: 1px solid var(--th-border);
  position: sticky;
  top: 68px;
  z-index: 20;
}

.col-filter-input {
  width: 100%;
  min-width: 45px;
  background-color: #ffffff;
  color: #111827;
  border: 1px solid #94a3b8;
  border-radius: 3px;
  padding: 3px 5px;
  font-size: 11px;
  outline: none;
  box-sizing: border-box;
}

.col-filter-input::placeholder {
  color: #64748b;
  font-style: italic;
}

.col-filter-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 4px rgba(2, 132, 199, 0.4);
}

/* Tablo Veri Satırları (Sarı/Krem Tonları) */
.opening-odds-table tbody tr {
  background-color: var(--td-bg-yellow);
  color: var(--td-text);
  border-bottom: 1px solid var(--td-border);
  transition: background-color 0.15s;
}

.opening-odds-table tbody tr:hover {
  background-color: var(--td-bg-hover);
}

.opening-odds-table tbody td {
  padding: 6px 10px;
  border-right: 1px solid var(--td-border);
  border-bottom: 1px solid var(--td-border);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

.opening-odds-table tbody td.text-left {
  text-align: left;
}

.opening-odds-table tbody td.team-name {
  font-weight: 700;
  color: #0f172a;
}

/* Maç Sonucu Kazanan Rozetleri */
.badge-winner {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 11.5px;
}

.winner-1 {
  background-color: #10b981;
  color: #ffffff;
}

.winner-x {
  background-color: #f59e0b;
  color: #ffffff;
}

.winner-2 {
  background-color: #ef4444;
  color: #ffffff;
}

/* Skor Rozeti */
.score-badge {
  font-weight: 800;
  color: #1e293b;
  background-color: #e5e0ba;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Oran Vurgusu */
.odd-val {
  font-family: monospace;
  font-weight: 700;
  font-size: 12.5px;
}

/* -------------------------------------------------------------
   6. SAYFALAMA VE ALT BAR (Pagination)
   ------------------------------------------------------------- */
.pagination-strip {
  background-color: #0c1520;
  border-top: 1px solid #1a2c3f;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.page-info {
  font-size: 13px;
  color: #94a3b8;
}

.page-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-btn {
  background-color: #162637;
  border: 1px solid #27435f;
  color: #cbd5e1;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.page-btn:hover:not(:disabled) {
  background-color: #213c58;
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-btn.active {
  background-color: #0284c7;
  border-color: #38bdf8;
  color: #fff;
}

/* Yükleniyor Spinner */
.loading-row-overlay {
  text-align: center;
  padding: 40px !important;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.spinner-icon {
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-right: 8px;
  font-size: 16px;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* -------------------------------------------------------------
   AŞAĞIDAKİ TABLODA TUTAN ORANLAR YEŞİL YANAR (.odd-badge-hit)
   ------------------------------------------------------------- */
.odd-badge-hit {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  padding: 3px 7px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7), inset 0 0 4px rgba(255, 255, 255, 0.3) !important;
  display: inline-block;
  min-width: 42px;
  text-align: center;
  border: 1px solid #34d399;
  letter-spacing: 0.3px;
  transition: transform 0.15s ease;
}

.odd-badge-hit:hover {
  transform: scale(1.08);
}

td.td-odd-hit {
  background-color: rgba(16, 185, 129, 0.14) !important;
}

/* -------------------------------------------------------------
   TABLO BAŞLIKLARI TIKLAYARAK SIRALAMA (Sortable Columns)
   ------------------------------------------------------------- */
.sortable-th {
  cursor: pointer !important;
  user-select: none;
  position: relative;
  transition: background-color 0.15s, color 0.15s;
}

.sortable-th:hover {
  background-color: #234365 !important;
  color: #f59e0b !important;
}

.sort-icon {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  color: #64748b;
  transition: color 0.2s, transform 0.2s;
}

.sortable-th:hover .sort-icon {
  color: #f59e0b;
}

.sortable-th.sorted-asc {
  background-color: #1b3a58 !important;
  color: #38bdf8 !important;
  border-bottom: 2px solid #38bdf8 !important;
}

.sortable-th.sorted-asc .sort-icon {
  color: #38bdf8;
  font-weight: 900;
}

.sortable-th.sorted-desc {
  background-color: #1b3a58 !important;
  color: #f59e0b !important;
  border-bottom: 2px solid #f59e0b !important;
}

.sortable-th.sorted-desc .sort-icon {
  color: #f59e0b;
  font-weight: 900;
}

/* Tutan maç satırları ve skor vurgusu */
.match-data-row.row-selected {
  background-color: #fef08a !important; /* Canlı sarı seçim */
  border-left: 4px solid #10b981 !important;
}

.badge-winner.winner-1 {
  background-color: #10b981;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.badge-winner.winner-x {
  background-color: #f59e0b;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

.badge-winner.winner-2 {
  background-color: #ef4444;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

