/* jugger.css - Estilos específicos para el marcador de Jugger */

body.theme-jugger {
  background: var(--gradient);
}

.clock-container-jugger {
  background-color: rgba(47, 54, 64, 0.85);
}

.game-rules-jugger {
  color: #f1c40f;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.current-set-info-jugger {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1rem;
}

.scoreboard-jugger {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
}

.match-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.match-clock-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.match-clock-value {
  font-size: 2.6rem;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
}

.clock-running {
  border: 2px solid #2ecc71;
  color: #2ecc71;
}

.clock-paused {
  border: 2px solid #f1c40f;
  color: #f1c40f;
}

.clock-finished {
  border: 2px solid #e74c3c;
  color: #e74c3c;
}

.clock-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.team-jugger {
  background-color: rgba(20, 23, 30, 0.9);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  flex: 1;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.team-jugger:hover {
  transform: translateY(-4px);
}

.team-name-jugger {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: bold;
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  transition: var(--transition);
}

.team-name-jugger:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.score-jugger {
  font-size: 4rem;
  font-weight: bold;
  margin: 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.team-meta {
  margin-top: 10px;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-meta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.players-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.player-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.player-actions {
  display: flex;
  gap: 6px;
}

.stun-active {
  border-color: #f39c12;
  box-shadow: 0 0 12px rgba(243, 156, 18, 0.3);
}

.penalties-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}

.penalty-item {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.4);
  padding: 6px 10px;
  border-radius: 8px;
}

.event-feed-panel {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 15px;
  margin-bottom: 20px;
}

.event-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.event-item {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.9rem;
  border-left: 4px solid rgba(255, 255, 255, 0.2);
}

.event-goal {
  border-left-color: #2ecc71;
}

.event-penalty {
  border-left-color: #e74c3c;
}

.event-stun {
  border-left-color: #f39c12;
}

.event-timeout {
  border-left-color: #3498db;
}

button:focus-visible,
.btn:focus-visible,
.btn-icon:focus-visible {
  outline: 2px solid #f1c40f;
  outline-offset: 2px;
}

.light-mode .team-jugger,
.light-mode .event-feed-panel,
.light-mode .player-row {
  background: #ffffff;
  color: #2c3e50;
  border-color: rgba(44, 62, 80, 0.15);
}

.light-mode .event-item {
  background: rgba(44, 62, 80, 0.06);
}

.light-mode .penalty-item {
  background: rgba(231, 76, 60, 0.12);
}

@media (max-width: 768px) {
  .scoreboard-jugger {
    flex-direction: column;
  }

  .score-jugger {
    font-size: 3rem;
  }

  .team-jugger {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .score-jugger {
    font-size: 2.5rem;
  }

  .current-set-info-jugger {
    font-size: 0.9rem;
  }

  .match-clock-value {
    font-size: 2rem;
  }

  .event-feed {
    max-height: 220px;
  }
}
