/* Live Score Page Styles */
.container {
  padding-top: 80px;
}

h1 {
  color: #001f3f; /* Dark Navy */
  margin-bottom: 30px;
  font-size: 1.2em;
}

h2 {
  color: #1f75ff; /* Light Navy */
  margin-bottom: 20px;
  font-size: 1.2em;
}

.league-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.pitch-container {
  background-color: #f9f9f9;
  padding: 2px;
  border-radius: 10px;
}

.matches-container.single-column {
  display: block;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.match-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.single-column .match-card {
  padding: 15px;
  margin-bottom: 0px;
}

.match-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background-color: #e6f7ff; /* Light blue hover background */
}

/* Apply background color for ended matches */
.match-ended {
  background-color: #cccccc; /* Grey background for ended matches */
  cursor: default; /* No hover effects for ended matches */
}

.match-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.team-name {
  font-size: 15px;
  font-weight: bold;
  color: #001f3f; /* Dark Navy */
}

.score {
  font-size: 15px;
  color: #001f3f; /* Dark Navy */
  font-weight: bold;
}

.match-details {
  font-size: 14px;
  color: #666;
}

.match-date,
.match-pitch {
  display: block;
  margin-top: 5px;
}

@media (max-width: 200px) {
  .league-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .match-card {
    padding: 10px;
  }

  .team-name {
    font-size: 10px;
    width: 60px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .score {
    font-size: 12px;
    font-weight: 900;
  }

  .match-details {
    font-size: 12px;
  }
}
