/* Global Font Settings */
body,
.card,
.teams,
.match,
.score,
.match-note {
  font-family: "Poppins", sans-serif;
}

/* Material Design Card */
.card {
  background: transparent;
  padding: 15px;
  font-family: "Poppins", sans-serif;
  border: 1px solid var(--bricks-color-jfjvsf);
}

@media (max-width: 410px) {
  .points-table-card {
    display: block;
    overflow-x: scroll;
  }
}

/* Titles */
.card h2 {
  font-size: clamp(1.8rem, 0.4348vw + 1.6609rem, 2.2rem);
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--bricks-color-wgmpuy);
  line-height: 1;
  border-left: 5px solid var(--bricks-color-egpqfr);
  padding-left: 10px;
}

/* Live Matches */
.live-matches {
  background: #ffeb3b;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Match Flags */
.team-flag {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

/* Adjust the layout of the teams */
.teams {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Team Block */
.teams div {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: var(--bricks-color-wgmpuy);
}

/* Score Section */
.score.score-area {
  display: flex;
  gap: 20px;
  align-items: center; /* Center the content */
}

/* Ticker styles */
#cricket-ticker {
  display: flex;
  white-space: nowrap;
  gap: 15px;
  overflow-x: auto;
  padding-left: 8px;
}

/* #cricket-ticker::-webkit-scrollbar {
  display: none;
} */

#cricket-ticker {
  -ms-overflow-style: thin; /* IE and Edge */
  scrollbar-width: thin; /* Firefox */
	padding-bottom: 15px;
}

/* Points Table */
#cricket-points-table table {
  width: 100%;
  border-collapse: collapse;
}

#cricket-points-table th,
#cricket-points-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--bricks-color-jfjvsf);
  color: var(--bricks-color-wgmpuy);
}

#cricket-points-table th {
  background: var(--bricks-color-egpqfr);
  color: var(--bricks-color-ptqvkt);
}

/* Hover Effect */
#cricket-points-table tr:hover {
  background: #f5f5f5;
  td {
    color: black;
  }
}

#cricket-points-table th:first-child {
  min-width: 90px;
}

.match-note {
  width: 100%;
  border-top: 1px solid var(--bricks-color-jfjvsf);
  margin-top: 10px;
  padding-top: 8px;
  color: var(--bricks-color-wgmpuy);
}

.match-round {
  color: red;
  font-size: 1.2rem;
}

.match-note span {
  color: red;
}

.match {
  border: 1px solid var(--bricks-color-jfjvsf);
  padding: 10px;
/*   background-color: var(--bricks-color-jfjvsf); */
}

.runs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#cricket-points-table td {
  white-space: nowrap;
}
