body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: #f4f4f4;
}

.container {
  display: flex;
  width: 70%;

  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar {
  flex: 1;
  padding: 20px;
  background-color: #eaeaea;
  border-radius: 10px 0 0 10px;
}

.sidebar h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

.sidebar select,
.sidebar #leagues-dropdown {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.content {
  flex: 3;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.date-picker {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.date-picker button {
  padding: 10px 20px;
  margin-right: 10px;
  border: none;
  background-color: #3b5998;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.date-picker button:hover {
  background-color: #344e86;
}

.matches-list {
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.match {
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  position: relative;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.match-header {
  text-align: center;
  margin-bottom: 10px;
}

.match-header .time {
  font-size: 14px;
  color: #555;
}

.match-header .league {
  font-weight: bold;
  color: #333;
}

.match-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 45%;
}
.team2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 45%;
}
.team22 {
  display: flex;
  align-items: center;
}

.team-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-right: 10px;
}

.team p {
  margin: 0;
  flex: 1;
}

.team .score {
  font-weight: bold;
  margin-left: 10px;
}
.matchtime {
  display: grid;
  justify-items: center;
  color: red;
}

.match-body .vs {
  font-size: 16px;
  font-weight: bold;
  color: #999;
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  width: 50%;
}

.modal-content .close {
  font-size: 20px;
  float: right;
  cursor: pointer;
}

#match-details {
  margin-top: 20px;
}

.league-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.league-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-right: 10px;
}

.league-item button {
  background-color: #3b5998;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.league-item button:hover {
  background-color: #344e86;
}
