/* =======================
   SPORTS PAGE STYLES
======================= */

/* Scores table cells */
.current td, .current th {
  text-align: center;
  vertical-align: bottom;
}

.weather_icon {
  width: 20px;
  height: 20px;
}

/* Winner highlight */
.winner {
  background-color: #d4edda;
  font-weight: bold;
}

/* Alternate rows and hover */
.scores tbody.game:nth-of-type(odd) tr {
  background-color: #f9f9f9;
}

.scores tbody.game:nth-of-type(even) tr {
  background-color: #ffffff;
}

.scores tbody.game:hover tr {
  background-color: #ebebeb;
}

.team-logo {
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
}

/* Live game highlight */
.live-game {
  background-color: #fff3cd !important;
  border: 2px solid black;
}

/* Sports tabs */
.sports-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.sports-tab {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.sports-tab img {
  height: 20px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sports-tab:hover {
  opacity: 1;
}

.sports-tabsactive img {
  opacity: 1;
}

.sports-tab.active {
  border-bottom: 3px solid #007bff;
  opacity: 1;
}

.away-col, .home-col {
  width: 35%;
}

.score-col {
  width: 15%;
  text-align: center;
}

.scores a {
  color: black;
  text-decoration: none;
}
