/* Match Detail Page Styles */

/* Match Header */
.match-header {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.match-header h3 {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
}

.match-score-display {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
}

.match-status-badge {
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

/* Team Logos */
.team-logo {
  max-height: 80px;
  object-fit: contain;
  margin: 0 auto;
}

.team-logo-placeholder {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 600;
}

/* Match Info */
.match-info {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.match-info h5 {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.match-info-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.match-info-item:last-child {
  border-bottom: none;
}

.match-info-label {
  font-weight: 600;
  color: #64748b;
}

.match-info-value {
  color: #0f172a;
  font-weight: 500;
}

/* Tabs */
.match-detail-tabs .nav-link {
  font-weight: 600;
  color: #64748b;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 20px;
  transition: all 0.2s ease;
}

.match-detail-tabs .nav-link:hover {
  color: #3b82f6;
  border-color: transparent;
  background-color: #f1f5f9;
}

.match-detail-tabs .nav-link.active {
  color: #3b82f6;
  border-bottom: 3px solid #3b82f6;
  background-color: transparent;
}

.match-detail-tabs {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

/* Tables */
.match-detail-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.match-detail-table th {
  font-weight: 600;
  color: #334155;
  background-color: #f8fafc;
  padding: 14px 16px;
}

.match-detail-table td {
  padding: 12px 16px;
  vertical-align: middle;
  color: #1e293b;
}

.match-detail-table tr:hover td {
  background-color: #f8fafc;
}

/* Dark mode styles */
[data-theme="dark"] .match-header {
  background: linear-gradient(135deg, #1b263b, #0f1827);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .match-header h3 {
  color: #e0e1dd;
}

[data-theme="dark"] .match-score-display {
  color: #e0e1dd;
}

[data-theme="dark"] .team-logo-placeholder {
  background: #1b263b;
  color: #a9b4c2;
}

[data-theme="dark"] .match-info {
  background: #1b263b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .match-info h5 {
  color: #e0e1dd;
  border-bottom: 1px solid #415a77;
}

[data-theme="dark"] .match-info-item {
  border-bottom: 1px solid #415a77;
}

[data-theme="dark"] .match-info-label {
  color: #a9b4c2;
}

[data-theme="dark"] .match-info-value {
  color: #e0e1dd;
}

[data-theme="dark"] .match-detail-tabs .nav-link {
  color: #a9b4c2;
}

[data-theme="dark"] .match-detail-tabs .nav-link:hover {
  color: #d4af37;
  background-color: #1b263b;
}

[data-theme="dark"] .match-detail-tabs .nav-link.active {
  color: #d4af37;
  border-bottom: 3px solid #d4af37;
}

[data-theme="dark"] .match-detail-tabs {
  border-bottom: 1px solid #415a77;
}

[data-theme="dark"] .match-detail-table {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .match-detail-table th {
  color: #e0e1dd;
  background-color: #0d1b2a;
  border-color: #415a77;
}

[data-theme="dark"] .match-detail-table td {
  color: #e0e1dd;
  border-color: #415a77;
}

[data-theme="dark"] .match-detail-table tr:hover td {
  background-color: #0d1b2a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .match-score-display {
    font-size: 2rem;
  }
  
  .team-logo {
    max-height: 60px;
  }
  
  .team-logo-placeholder {
    width: 60px;
    height: 60px;
  }
  
  .match-detail-tabs .nav-link {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .match-header {
    padding: 16px;
  }
  
  .match-score-display {
    font-size: 1.75rem;
  }
  
  .team-logo {
    max-height: 50px;
  }
  
  .team-logo-placeholder {
    width: 50px;
    height: 50px;
  }
  
  .match-detail-table {
    font-size: 0.85rem;
  }
  
  .match-detail-table th,
  .match-detail-table td {
    padding: 10px 12px;
  }
}