body {
  font-family: "Arial", sans-serif;
  background-color: #f1f1f1;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

h1, h2, h3 {
  font-weight: normal;
}

.match-info {
  max-width: 800px;
  margin: 0 auto;
}

.league-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
  padding: 10px 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  cursor: pointer;
}

.expand-arrow {
  color: gray;
  font-size: 20px;
  margin-left: auto;
}

.league-matches {
  margin-top: 20px;
}
.match {
  padding: 15px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height:auto;
}

.match-details {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.league-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 0px;
}

.match-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.live {
  color: red;
  font-weight: bold;
  margin-left: 5px;
}

.team-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.score {
  font-size: 24px;
  font-weight: bold;
}

.time {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #888;
  margin-bottom: 0;
}
.time .material-icons {
  margin-right: 4px; /* Adjust the value as needed */
}

.hidden {
  display: none;
}

.filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.filter-button {
  padding: 10px 15px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.filter-button:hover {
  background-color: #f0f0f0;
}
.match h3 {
  cursor: pointer;
}

.filter-button.selected {
  background-color: #333;
  color: #fff;
}
.events-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.events-container div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: calc(50%); /* Subtracting the padding */
  box-sizing: border-box;
  padding: 0;
}

.visitor-events-container {
  align-items: flex-end;
}
.event-item {
  margin: 0;
  margin-top: 2px;
  margin-bottom: 2px;
}
.local-events-container {
margin-top: 5px;
  align-items: flex-start;
  text-align: right;
      border-right: 1px solid #ccc; /* Add this line */

}
.local-events-container .event-item {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.local-events-container .p-event-item {
  text-align: right;
}

.visitor-events-container {
    border-left: 1px solid #ccc; /* Add this line */

}

.match-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}


.event-item img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  margin-left: 6px;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.lineup-image {
  width: 54px;
  height: 36px;
  vertical-align: middle;
  //border: 1px solid #ccc;
}

.content-container {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch; /* Add this line */
}


.left-container,
.right-container {
  width: 100%;
  min-height: 600px;
}

.left-container {
  flex-grow: 6;
  margin-right: 10px; /* Add some margin to separate the containers */
  max-width: 800px;
  min-width: 650px;
  margin-bottom: 20px;
  width: 100%; /* Add this line */
}

.right-container {
  flex-grow: 4;
  max-width: 350px;
  min-width: 300px;
  width: 100%; /* Add this line */
}
.match-info-container, .right-container {
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-bottom: 30px;
}

.right-container h2 {
  margin-top: 0;
}

.lineup-container {
  padding: 15px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 870px;
  height: 520px;

  margin-left: auto;
  margin-right: auto;
  background-image: url('/img/pitch.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Add these new styles */
.lineup-and-table-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px; /* Add some margin to separate the containers */
}


.table-container-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}


.lineup-column {
  width: 48%;
}

.lineup-header {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
}

.lineup-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lineup-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.lineup-item img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.lineup-item span {
  font-size: 16px;
}
.stats-box {
  /* Copy styles from .match-box and modify as needed */
  padding: 15px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.left,
.center,
.right {
  flex-basis: 33.33%;
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.stat-container {
  display: flex;
  width: 100%;
}

.blank-line {
  height: 20px;
}

.header-container {
  position: relative;
  width: 100%;
  height: 50px; /* Set height to accommodate the team logos */
  margin-bottom: 20px; /* Add some space below the header */
}

.team-logo {
  width: 50px; /* Adjust the logo size */
  height: 50px;
  object-fit: contain;
}

.left-logo {
  position: absolute;
  left: 0;
}

.right-logo {
  position: absolute;
  right: 0;
}

.match-stats-text {
  font-size: 24px; /* Increase the font size */
  font-weight: bold; /* Make the font bold */
  position: absolute;
  left: 50%; /* Center the text horizontally */
  top: 50%; /* Center the text vertically */
  transform: translate(-50%, -50%); /* Adjust the position for accurate centering */
}
.stat-name,
.local-value,
.visitor-value {
  font-family: Arial, sans-serif; /* Use a nicer font */
  font-size: 12px; /* Increase the font size */
}


.half-container {
  width: 50%;
  height: 100%;
  position: absolute;
  z-index: 1; /* Add this line to ensure the containers are above the image */
}

.left-half {
  left: 0;
}

.right-half {
  right: 0;
}

.left-lineup,
.right-lineup {
  width: 50%;
  height: 100%;
  position: relative;
}
.lineup-container {
  position: relative;
}


.lineup-left,
.lineup-right {
  background-color: transparent;
}
.kit-home-container {
  position: absolute;
  left: 0;
}

.kit-away-container {
  position: absolute;
  right: 0;
}
.team-grid {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  grid-template-columns: repeat(4, 1fr); /* default to 4 columns */
}

.team-grid--five {
  grid-template-columns: repeat(5, 1fr); /* if formation has 5 zones, use 5 columns */
}

.player-name {
  font-size: 13px; /* Adjust the size as needed */
  //font-weight: bold;
  line-height:1;
  position: center;
    display: block;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 2px;
    color: #000;

}

.player {
  position: relative;
}

.player-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}


.player-number {
  position: absolute;
  top: 35%; /* Adjust the position as needed */
  left: 50%; /* Adjust the position as needed */
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 18px;
  color: #ffffff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
      }

.grey-text {
  color: grey;
  font-size: 10px;
  padding-left: 5px;
  padding-right: 5px;
}


/* TABLE SETTINGS */

.table-container-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 1rem;
  gap: 1rem;
}

/* Table container styles */
.table-container {
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width:1300px;
    overflow-x: auto;

}

.table-container > div {
  display: none;
}

.table-container > div.active {
  display: block;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  align:center;
}

.table-container th,
.table-container td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid #ccc;
  line-height: 1;
}

.table-container td {
padding: 0.2rem;
font-size: 13px;
  padding-right: 0.5rem;
  padding-left: 0.5rem;

}

.table-container th {
  font-weight: bold;
  background-color: #f0f0f0;
}

.table-container tr:nth-child(even) {
  background-color: #f7f7f7;
}

/* Tab styles */
.tab-btn {
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: none;
  background-color: #333;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: background-color 0.3s ease;
}

.tab-btn.active {
  background-color: #555;
}

.tab-btn:hover {
  background-color: #555;
}

.table-container .table-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.table-container .team-name {
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 2.2rem;
  vertical-align: center;
}

.table-container .team-name {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.table-container .team-logo {
    max-width: 60px;
    max-height: 60px;
    margin-right: 0.5rem;
    }

.team-odds {
  font-size: 0.8rem; /* Adjust this value according to your preference */
}
.menu-object object {
    width: 100%;
    height: auto;
    min-height: 50px; /* Adjust this value based on the desired menu height */
}
.dataTables_filter {
  margin-bottom: 16px; /* Adjust this value to your preference */
}
.info-box {
  margin-top: 120px; /* Add space above the info box */
  padding: 16px; /* Add padding around the content */
  border: 1px solid #ccc; /* Add a border */
  background-color: #f9f9f9; /* Set a background color */
  font-size:12px;
}
.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.donation, .coverage{
  padding: 25px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; /* Add position relative to parent container */
  margin: 0 auto; /* Center horizontally */
  left: 0;
  right: 0;
  width: 1000px;
}
.coverage{
  line-height:1.1;
  text-align:left;
}
.coverage table{
font-size:13px;
}
.coverage th{
font-size:15px;
line-height:1.8;
}
