.taca-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.taca-header {
  text-align: center;
  margin-bottom: 40px;
}

.bracket-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  overflow-x: auto;
  padding: 20px 0;
}

.round {
  flex: 1;
  min-width: 200px;
  margin: 0 10px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.round h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.matches {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.match-pair {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  padding: 10px;
  border-left: 3px solid #007bff;
}

.team-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 4px;
  margin: 2px 0;
}

.team-name {
  font-weight: 500;
  flex: 1;
}

.score {
  font-weight: bold;
  min-width: 24px;
  text-align: center;
  padding: 2px 8px;
  background: #e9ecef;
  border-radius: 4px;
  margin-left: 8px;
}

.match-pair {
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 8px;
  position: relative;
}

.match-pair::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  width: 20px;
  height: 2px;
  background: #007bff;
  display: none;
}

@media (min-width: 768px) {
  .match-pair::after {
    display: block;
  }

  .bracket-container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .bracket-container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .round {
    margin: 0;
  }
}

.coming-soon-message {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.coming-soon-message h2 {
  color: #333;
  margin-bottom: 20px;
}

.coming-soon-message p {
  color: #666;
  margin-bottom: 10px;
  line-height: 1.5;
}


.taca-container {
  padding: 1rem;
}

/* Reutilizando os estilos dos jogos da liga */
.weekend-group {
  margin: 2rem 0;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.weekend-header {
  background: #00439b;
  color: white;
  padding: 1rem;
  margin: 0;
  font-size: 1.3rem;
}

.weekend-games {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.match-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 0;
  border-bottom: 1px solid #eee;
}

.match-item:last-child {
  border-bottom: none;
}

.team-container-casa,
.team-container-fora {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.team-container-casa {
  justify-content: flex-start;
}

.team-container-fora {
  justify-content: flex-end;
}

.team-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.team-name {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.score {
  font-weight: bold;
  font-size: 1.1rem;
}

.match-date {
  font-size: 0.8rem;
  color: #666;
}

.highlight-team {
  border: 2px solid #00439b;
  border-radius: 50%;
}

.no-matches {
  text-align: center;
  padding: 2rem;
  color: #666;
}

/* Responsividade */
@media (max-width: 768px) {
  .team-name {
    font-size: 0.8rem;
  }

  .score {
    font-size: 1rem;
  }

  .match-date {
    font-size: 0.7rem;
  }

  .team-logo {
    width: 25px;
    height: 25px;
  }

  .match-item {
    padding: 0.75rem;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .team-name {
    font-size: 0.7rem;
  }

  .team-logo {
    width: 20px;
    height: 20px;
  }

  .match-item {
    padding: 0.5rem;
    gap: 0.25rem;
  }
}

.winner-section {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fcfcfc);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
}

.winner-header {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.winner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
}

.winner-logo {
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.winner-details {
    text-align: left;
}

.winner-name {
  font-size: 1rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.winner-congrats {
    font-size: 1em;
    color: #00439b;
    font-style: italic;
}