/* Additional Fixtures & Results Styling */

/* Team vs container styling */
.team-vs-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px;
  background: rgba(26, 82, 118, 0.2);
  border-radius: 10px;
  margin: 15px 0;
  position: relative;
  border: 1px solid rgba(52, 152, 219, 0.2);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.team-vs-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/templates/basic/images/imigongo-pattern.svg");
  opacity: 0.05;
  z-index: 0;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 40%;
  position: relative;
  z-index: 1;
}

.home-team {
  margin-right: 10px;
}

.away-team {
  margin-left: 10px;
}

.team-logo {
  width: 60px;
  height: 60px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.interactive-fixture:hover .team-logo,
.interactive-result:hover .team-logo {
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.team-name {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.interactive-fixture:hover .team-name,
.interactive-result:hover .team-name {
  color: #3498db;
}

.vs-badge {
  padding-top: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    45deg,
    var(--rwanda-blue-dark),
    var(--rwanda-blue)
  );
  color: white;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.vs-badge.pulse-element {
  animation: rwandaPulse 2s infinite;
}

.interactive-fixture:hover .vs-badge,
.interactive-result:hover .vs-badge {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.score-badge {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-weight: 700;
  border-radius: 6px;
  margin: 0 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  padding-top: 6px;
}

.score-badge.winner {
  background: rgba(0, 166, 81, 0.7);
  box-shadow: 0 0 10px rgba(0, 166, 81, 0.4);
}

.interactive-result:hover .score-badge.winner {
  background: rgba(0, 166, 81, 0.9);
  box-shadow: 0 0 15px rgba(0, 166, 81, 0.6);
}

.fixture-venue,
.result-venue {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 0.9rem;
  padding: 8px 0;
  margin-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.interactive-fixture:hover .fixture-venue,
.interactive-result:hover .result-venue {
  color: rgba(255, 255, 255, 1);
}

/* Empty state styling */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.7;
}

.empty-state p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Section equal heights */
.fixtures-content,
.results-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.interactive-fixture,
.interactive-result {
  background: rgba(26, 82, 118, 0.1);
  border-radius: 10px;
  padding: 10px 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.1);
}

.interactive-fixture:hover,
.interactive-result:hover {
  background: rgba(26, 82, 118, 0.2);
  border-color: rgba(52, 152, 219, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 767px) {
  .team-vs-container {
    padding: 10px 5px;
  }

  .team-logo {
    width: 45px;
    height: 45px;
  }

  .team-name {
    font-size: 0.85rem;
  }

  .vs-badge {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .score-badge {
    width: 25px;
    height: 25px;
    margin: 0 5px;
    font-size: 0.9rem;
  }

  .fixture-date,
  .result-date {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

/* Animation for pulse element */
@keyframes rwandaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}
