/* FC Saarbrücken Spielplan Styles mit FCS-Farben #00519e */

.fcs-spielplan {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.fcs-spielplan-title {
  text-align: center;
  color: #00519e;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

.fcs-spielplan-section {
  margin-bottom: 3rem;
}

.fcs-section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-align: center;
}

.fcs-section-title.live {
  background: #dc3545;
  color: white;
  animation: pulse 2s infinite;
}

.fcs-section-title.upcoming {
  background: #00519e;
  color: white;
}

.fcs-section-title.past {
  background: #6c757d;
  color: white;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Game Card Styling */
.fcs-game-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fcs-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.fcs-game-card.live {
  border: 3px solid #dc3545;
  box-shadow: 0 4px 12px rgba(220,53,69,0.3);
}

.fcs-game-card.upcoming {
  border: 2px solid #00519e;
}

.fcs-game-card.past {
  border: 1px solid #dee2e6;
  opacity: 0.9;
}

/* Game Header */
.fcs-game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.fcs-game-date {
  text-align: left;
}

.fcs-date-main {
  font-size: 1.2rem;
  font-weight: bold;
  color: #00519e;
}

.fcs-date-details {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

.fcs-game-status {
  text-align: right;
}

.fcs-live-indicator {
  background: #dc3545;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  animation: pulse 2s infinite;
}

.fcs-live-phase {
  font-size: 0.8rem;
  color: #dc3545;
  font-weight: bold;
  margin-top: 0.25rem;
}

.fcs-finished-indicator {
  background: #6c757d;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.fcs-upcoming-indicator {
  background: #00519e;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Teams Section */
.fcs-game-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  gap: 1rem;
}

.fcs-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.fcs-team-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  border-radius: 8px;
}

.fcs-team-name {
  font-weight: bold;
  font-size: 1rem;
  color: #333;
  line-height: 1.3;
}

/* Score Display */
.fcs-game-score {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

.fcs-score-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #00519e;
}

.fcs-score-home,
.fcs-score-away {
  background: #e6f0ff;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  text-align: center;
  border-radius: 8px;
  color: #00519e;
}

.fcs-score-separator {
  font-size: 2rem;
  color: #00519e;
  margin: 0 0.25rem;
}

.fcs-score-vs {
  font-size: 1.5rem;
  font-weight: bold;
  color: #666;
  background: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

/* Actions */
.fcs-game-actions {
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  text-align: center;
}

.fcs-ticker-link {
  display: inline-block;
  background: #00519e;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.2s ease;
}

.fcs-ticker-link:hover {
  background: #003d75;
  text-decoration: none;
  color: white;
}

.fcs-game-card.live .fcs-ticker-link {
  background: #dc3545;
  animation: pulse 2s infinite;
}

.fcs-game-card.live .fcs-ticker-link:hover {
  background: #c82333;
}

/* Dashboard Widget Styling */
#fcs_next_games .fcs-spielplan {
  max-width: 100%;
  padding: 10px;
}

#fcs_next_games .fcs-spielplan-title {
  display: none; /* Titel im Widget verstecken */
}

#fcs_next_games .fcs-game-card {
  margin-bottom: 1rem;
}

#fcs_next_games .fcs-game-header {
  padding: 0.75rem 1rem;
}

#fcs_next_games .fcs-game-teams {
  padding: 1rem;
}

#fcs_next_games .fcs-team-logo {
  width: 40px;
  height: 40px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .fcs-spielplan {
    padding: 10px;
  }
  
  .fcs-spielplan-title {
    font-size: 1.5rem;
  }
  
  .fcs-game-header {
    padding: 0.75rem 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .fcs-game-teams {
    padding: 1rem;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .fcs-team {
    flex-direction: row;
    max-width: none;
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }
  
  .fcs-team-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }
  
  .fcs-team-name {
    font-size: 0.9rem;
  }
  
  .fcs-score-display {
    font-size: 1.5rem;
  }
  
  .fcs-score-home,
  .fcs-score-away {
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 1.2rem;
  }
  
  .fcs-game-actions {
    padding: 0.75rem 1rem;
  }
  
  .fcs-ticker-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .fcs-game-teams {
    gap: 1rem;
  }
  
  .fcs-team {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .fcs-team-logo {
    width: 35px;
    height: 35px;
  }
  
  .fcs-team-name {
    font-size: 0.8rem;
  }
}