/* ============================================
   SekaToto Oyun Alanı Stilleri - Görsele Uygun
   ============================================ */

/* SekaToto Container */
.sekatoto-container {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0;
  margin-bottom: 1.5rem;
}

/* SekaToto Tablo */
.sekatoto-table {
  width: 100%;
  background: var(--bg-panel);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sekatoto-table-header {
  background: linear-gradient(180deg, #f4a623 0%, #e89a1b 100%);
  border-bottom: 2px solid #d68715;
}

.sekatoto-table-row {
  display: grid;
  grid-template-columns: 50px 100px 1fr 200px;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: all 0.2s ease;
  background: var(--bg-list);
}

.sekatoto-table-row:hover {
  background: rgba(238, 154, 27, 0.08);
}

.sekatoto-table-header .sekatoto-table-row {
  font-weight: 700;
  color: #000000;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
  padding: 0.75rem 1rem;
}

.sekatoto-table-header .sekatoto-table-row:hover {
  background: transparent;
}

.sekatoto-col-match .match-teams {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sekatoto-col-match .team-name {
  font-size: 0.9rem;
  color: #ffffff;
}

.sekatoto-col-match .vs {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  margin: 0 0.25rem;
}

.sekatoto-col-date {
  white-space: nowrap;
  font-size: 0.85rem;
  color: #ffffff;
}


/* Tahmin Butonları (A Sütunu - 1, X, 2) */
.sekatoto-col-predictions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.sekatoto-prediction-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.sekatoto-prediction-btn {
  min-width: 55px;
  max-width: 60px;
  height: 38px;
  padding: 0;
  background: #ffffff;
  border: 2px solid #d0d0d0;
  border-radius: 0.25rem;
  color: #333333;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sekatoto-prediction-percent {
  font-size: 0.7rem;
  color: #888;
  font-weight: 600;
  min-height: 16px;
}

.sekatoto-prediction-btn:hover {
  border-color: var(--accent);
  background: #fff8e6;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(238, 154, 27, 0.3);
}

.sekatoto-prediction-btn.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(238, 154, 27, 0.5);
}

.sekatoto-prediction-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Tahmin Yapıldı Badge */
.sekatoto-predicted-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Aksiyon Butonları */
.sekatoto-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.sekatoto-save-btn,
.sekatoto-popular-btn {
  padding: 0.75rem 2rem;
  border-radius: 0.35rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
}

.sekatoto-save-btn {
  background: linear-gradient(135deg, var(--accent), #d68715);
  color: #000;
  box-shadow: 0 4px 12px rgba(238, 154, 27, 0.3);
}

.sekatoto-save-btn:hover {
  background: linear-gradient(135deg, #d68715, var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 154, 27, 0.4);
}

.sekatoto-save-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.sekatoto-popular-btn {
  background: linear-gradient(135deg, #264f4d, #1a3735);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(38, 79, 77, 0.3);
}

.sekatoto-popular-btn:hover {
  background: linear-gradient(135deg, #1a3735, #264f4d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 79, 77, 0.4);
}

.sekatoto-popular-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Boş Durum */
.sekatoto-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
}

.sekatoto-empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
  color: var(--accent);
}

.sekatoto-empty-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.sekatoto-empty-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Ücretli Badge (Sadece ücretli olanlar için) */
.sekatoto-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 0.5rem;
  background: rgba(238, 154, 27, 0.2);
  color: var(--accent);
  border: 1px solid rgba(238, 154, 27, 0.4);
}

/* Responsive Tasarım */
@media (max-width: 1400px) {
  .sekatoto-table-row {
    grid-template-columns: 45px 95px 1fr 190px;
    gap: 0.6rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
  }
  
  .sekatoto-prediction-btn {
    min-width: 52px;
    max-width: 58px;
    height: 38px;
  }
}

@media (max-width: 1200px) {
  .sekatoto-table-row {
    grid-template-columns: 40px 90px 1fr 180px;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }
  
  .sekatoto-col-match .team-name {
    font-size: 0.85rem;
  }
}

@media (max-width: 992px) {
  .sekatoto-table-row {
    grid-template-columns: 35px 80px 1fr 170px;
    font-size: 0.85rem;
    gap: 0.4rem;
    padding: 0.45rem 0.65rem;
  }
  
  .sekatoto-prediction-btn {
    min-width: 48px;
    max-width: 54px;
    height: 36px;
    font-size: 0.85rem;
  }
  
  .sekatoto-prediction-percent {
    font-size: 0.65rem;
  }
  
  .sekatoto-col-match .team-name {
    font-size: 0.8rem;
  }
  
  .sekatoto-col-match .vs {
    font-size: 0.7rem;
  }
  
  /* Mobilde butonlar yan yana kalacak */
  .sekatoto-actions {
    gap: 0.75rem;
  }
  
  .sekatoto-save-btn,
  .sekatoto-popular-btn {
    flex: 1;
    padding: 0.65rem 1rem;
  }
}

@media (max-width: 768px) {
  .sekatoto-container {
    padding: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .sekatoto-table {
    border-radius: 0.35rem;
  }
  
  .sekatoto-table-row {
    grid-template-columns: 30px 1fr 160px;
    gap: 0.5rem;
    padding: 0.6rem 0.5rem;
  }
  
  .sekatoto-table-header .sekatoto-table-row {
    padding: 0.65rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .sekatoto-col-date {
    display: none; /* Mobilde tarih gizle */
  }
  
  .sekatoto-col-no {
    font-size: 0.8rem;
  }
  
  .sekatoto-col-match .match-teams {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
  
  .sekatoto-col-match .team-name {
    font-size: 0.75rem;
    line-height: 1.2;
  }
  
  .sekatoto-col-match .vs {
    display: none; /* Mobilde vs gizle */
  }
  
  .sekatoto-price-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    margin-left: 0.25rem;
  }
  
  .sekatoto-col-predictions {
    gap: 0.35rem;
  }
  
  .sekatoto-prediction-item {
    gap: 0.2rem;
  }
  
  .sekatoto-prediction-btn {
    min-width: 45px;
    max-width: 50px;
    height: 34px;
    font-size: 0.8rem;
  }
  
  .sekatoto-prediction-percent {
    font-size: 0.6rem;
  }
  
  .sekatoto-actions {
    margin-top: 1rem;
    margin-bottom: 0;
    gap: 0.6rem;
  }
  
  .sekatoto-save-btn,
  .sekatoto-popular-btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
  }
  
  .sekatoto-empty {
    padding: 2.5rem 1rem;
  }
  
  .sekatoto-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .sekatoto-empty-title {
    font-size: 1.2rem;
  }
  
  .sekatoto-empty-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .sekatoto-table-row {
    grid-template-columns: 25px 1fr 150px;
    gap: 0.4rem;
    padding: 0.5rem 0.4rem;
  }
  
  .sekatoto-table-header .sekatoto-table-row {
    padding: 0.6rem 0.4rem;
    font-size: 0.7rem;
  }
  
  .sekatoto-col-no {
    font-size: 0.75rem;
  }
  
  .sekatoto-col-match .team-name {
    font-size: 0.7rem;
  }
  
  .sekatoto-prediction-btn {
    min-width: 42px;
    max-width: 48px;
    height: 32px;
    font-size: 0.75rem;
  }
  
  .sekatoto-prediction-percent {
    font-size: 0.55rem;
  }
  
  .sekatoto-col-predictions {
    gap: 0.25rem;
  }
  
  .sekatoto-price-badge {
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
  }
  
  .sekatoto-actions {
    gap: 0.5rem;
    margin-bottom: 0;
  }
  
  .sekatoto-save-btn,
  .sekatoto-popular-btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.55rem 0.5rem;
  }
}

@media (max-width: 400px) {
  .sekatoto-table-row {
    grid-template-columns: 22px 1fr 140px;
    gap: 0.3rem;
    padding: 0.45rem 0.3rem;
  }
  
  .sekatoto-col-match .team-name {
    font-size: 0.65rem;
  }
  
  .sekatoto-prediction-btn {
    min-width: 38px;
    max-width: 44px;
    height: 30px;
    font-size: 0.7rem;
  }
  
  .sekatoto-prediction-percent {
    font-size: 0.5rem;
  }
  
  .sekatoto-col-predictions {
    gap: 0.2rem;
  }
}

/* Animasyonlar */
@keyframes sekatoSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sekatoto-table-row {
  animation: sekatoSlideIn 0.4s ease-out;
  animation-fill-mode: both;
}

/* Header animasyonu yok */
.sekatoto-table-header .sekatoto-table-row {
  animation: none;
}

/* Tüm satırlar için animasyon delay */
.sekatoto-table-row:nth-child(1) { animation-delay: 0.03s; }
.sekatoto-table-row:nth-child(2) { animation-delay: 0.06s; }
.sekatoto-table-row:nth-child(3) { animation-delay: 0.09s; }
.sekatoto-table-row:nth-child(4) { animation-delay: 0.12s; }
.sekatoto-table-row:nth-child(5) { animation-delay: 0.15s; }
.sekatoto-table-row:nth-child(6) { animation-delay: 0.18s; }
.sekatoto-table-row:nth-child(7) { animation-delay: 0.21s; }
.sekatoto-table-row:nth-child(8) { animation-delay: 0.24s; }
.sekatoto-table-row:nth-child(9) { animation-delay: 0.27s; }
.sekatoto-table-row:nth-child(10) { animation-delay: 0.30s; }
.sekatoto-table-row:nth-child(11) { animation-delay: 0.33s; }
.sekatoto-table-row:nth-child(12) { animation-delay: 0.36s; }
.sekatoto-table-row:nth-child(13) { animation-delay: 0.39s; }
.sekatoto-table-row:nth-child(14) { animation-delay: 0.42s; }
.sekatoto-table-row:nth-child(15) { animation-delay: 0.45s; }
.sekatoto-table-row:nth-child(16) { animation-delay: 0.48s; }
.sekatoto-table-row:nth-child(17) { animation-delay: 0.51s; }
.sekatoto-table-row:nth-child(18) { animation-delay: 0.54s; }
.sekatoto-table-row:nth-child(19) { animation-delay: 0.57s; }
.sekatoto-table-row:nth-child(20) { animation-delay: 0.60s; }
.sekatoto-table-row:nth-child(21) { animation-delay: 0.63s; }
.sekatoto-table-row:nth-child(22) { animation-delay: 0.66s; }
.sekatoto-table-row:nth-child(23) { animation-delay: 0.69s; }
.sekatoto-table-row:nth-child(24) { animation-delay: 0.72s; }
.sekatoto-table-row:nth-child(25) { animation-delay: 0.75s; }
.sekatoto-table-row:nth-child(26) { animation-delay: 0.78s; }
.sekatoto-table-row:nth-child(27) { animation-delay: 0.81s; }
.sekatoto-table-row:nth-child(28) { animation-delay: 0.84s; }
.sekatoto-table-row:nth-child(29) { animation-delay: 0.87s; }
.sekatoto-table-row:nth-child(30) { animation-delay: 0.90s; }

/* 30'dan fazla satır varsa genel delay */
.sekatoto-table-row:nth-child(n+31) { 
  animation-delay: 0.93s; 
}

/*
