/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.title-container {
  display: flex;
  align-items: center; 
  justify-content: center; /* Center horizontally */
}

.period-selection {
  text-align: center;     /* Center the text within the period selection */
  margin-top: 20px;      /* Add some space between the logo and periods */
}

.logo {
    width: 100px;
    margin-bottom: 10px;
}

h2 {
    margin-bottom: 20px;
}

/* Player selection styles */
.player-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.team-container {
    display: flex;
    flex-direction: column;
    width: 45%;
    margin-bottom: 10px;
}

.team-dropdown {
    width: 200px; /* Adjust the width as needed */
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.player-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Action button styles */
.action-buttons {
    display: flex;
    flex-direction: row; /* Align buttons horizontally */
    justify-content: space-between; /* Adjust spacing as needed */
}

.button {
    background-color: #e1ecf4;
    border: 1px solid #7aa7c7;
    border-radius: 3px;
    padding: 8px 15px;
    cursor: pointer;
    margin-bottom: 5px;
}

.button:hover {
    background-color: #b3d3ea;
}

.button:active {
    background-color: #a0c7e4;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ccc;
    padding: 5px;
    text-align: center;
}


/* Team logos */
.home-team-container {
    display: flex;
    align-items: center;
  }
  
  #homeTeamLogo {
    width: 10%;
    margin-left: 5px;
  }

  .visitor-team-container {
    display: flex;
    align-items: center;
  }
  
  #visitorTeamLogo {
    width: 10%;
    margin-left: 5px;
  }

  .player-buttons {
    height: 75px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Align buttons to the left */
  }
  
  .button {
    /* Add button styles here */
    margin: 5px; /* Adjust margin as needed */
  }

  .team-container {
    display: flex;
    padding-left: 20px;
    align-items: center; /* Vertically align content within the container */
  }
  
  .home-team-container,
  .visitor-team-container {
    display: flex; /* Make inner containers flexible */
    flex-grow: 1;  /* Distribute available space equally */
  }
  
  .home-team-container p,
  .visitor-team-container p {
    margin-left: 10px; /* Adjust spacing between logo and team name */
  }

  .custom-select {
    appearance: none;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
    font-size: 12pt; /* Adjust font size as needed */
  }

  #playerTableContainer {
    padding-left: 20px;
    padding-right: 20px;
  }

  nav {
    background-color: #f0f0f0; /* Example background color */
    padding: 10px;
  }
  
  nav ul {
    list-style: none; /* Remove bullet points */
    margin: 0;
    padding: 0;
    display: flex; /* Arrange menu items horizontally */
  }
  
  nav li {
    margin-right: 20px; /* Add spacing between menu items */
  }

  #playerTableContainer {
    overflow-y: auto; /* Enable vertical scrolling for the table container */
    max-height: 300px; /* Set a maximum height for the table container */
  }

  .team-score {
      font-weight: bold;
      font-size: 1.2em; /* Slightly larger than team name */
      margin-left: 10px; /* Add some space between team name and score */
  }

  /* Hide number input arrows in Chrome, Safari, Edge, Opera */
.custom-input-time::-webkit-outer-spin-button,
.custom-input-time::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide number input arrows in Firefox */
.custom-input-time {
 /* -moz-appearance: textfield; /* Restores the field to a non-numeric look */
  text-align: center; /* Optional: Makes the number look better centered */
  width: 50px; /* Adjust width as needed */
  border: none;
  background: transparent;
}
  
