body {
  font-family: 'Inter', sans-serif;
}
/* nav style */
/* Navigation Styles */
nav {
  display: flex;
  justify-content: space-around; /* Or space-between */
  padding: 10px;
  background-color: #ffffff; /* Or the background color you want */
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.1); /* Add some shadow */
}

nav a {
  text-decoration: none;  /* Remove underline */
  color: #333;  /* Dark grey */
  font-size: 18px;  /* Set font size */
  padding: 10px;  /* Add some padding */
  margin: 0 10px;  /* Add some margin to separate the links */
}

nav a:hover {
  color: #555;  /* Change color on hover */
  border-bottom: 2px solid #555;  /* Add a border at the bottom on hover */
}
nav a.active {
  border-bottom: 2px solid #555;
  color: #555;
}


/* CSS */
button {
  background-color: #fff;
  border: 1px solid #d5d9d9;
  border-radius: 8px;
  box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
  box-sizing: border-box;
  color: #0f1111;
  cursor: pointer;
  display: inline-block;
  font-family: "Amazon Ember",sans-serif;
  font-size: 13px;
  line-height: 29px;
  padding: 0 10px 0 11px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  min-width: 100px;
  margin-right: 20px;  /* Add right margin */

}

button-13:hover {
  background-color: #f7fafa;
}

button-13:focus {
  border-color: #008296;
  box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
  outline: 0;
}


/* date header */

#calendar-header h1 {
  text-align: center;
  font-size: 2em;  /* Increase font size */
  margin-bottom: 20px;  /* Add some space below the header */
}

/* format the no lessons text */
.no-lessons {
  font-size: 44px;  /* Increase the font size */
  margin-top: 50px; /* Add some top margin */
  font-weight: bold;  /* Make the text bold */
  color: #F3E9FF;  /* Change text color */
  display: flex;
  justify-content: center;
  align-items: center;
}



#tableContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
   /* Align tables to the start of the container */
}

#calendar-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}
.dateSelection{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh; /* Set the height of the container to the full viewport height */
}


.coach-calendar {
  min-width: 20.9375rem;
  line-height: 1rem;
  margin: 50px;
  background-color: #ffffff;
  border: 1.5px solid #F3E9FF;
  border-radius: 0rem 0rem 0.6875rem 0.6875rem;

}

/* Media Query for smaller desktop screens */
@media only screen and (max-width: 1024px) {
  .coach-calendar {
    min-width: 5rem; /* Reset minimum width */
    width: calc(25% - 60px);  /* Each box takes up approximately one-third of the container width minus margins */
    margin: 15px;  /* Adjust margin for smaller screens */
  }
}



th.coach-name {
  padding: 0%;
  margin: 0%;
  background-color: #F3E9FF;
  color: #262626;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-align: center;
  vertical-align: middle;
  padding: 2rem;
}

tr.subtitles th {
  background-color: #FFF; /* White background for subtitles */
  color: #000;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5rem;
  text-align: left;
  vertical-align: bottom;
  padding: 2rem;
}

tr td {
  background-color: white;
  color: #000;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.25rem;
  text-align: left;
  vertical-align: middle;
  padding: 1rem;
  border-top: 0.03125rem solid #BEBEBE;
}



/* Spinner css */
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 3px solid;
  border-color: #FFF #FFF transparent transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent transparent #000000 #040303;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}
.loader::before {
  width: 32px;
  height: 32px;
  border-color: #FFF #FFF transparent transparent;
  animation: rotation 1.5s linear infinite;
}
    
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
    

/* Mobile Styles */
@media only screen and (max-width: 768px) {
  * {
    box-sizing: border-box;
  }
  html, body {
    margin: 0;
    padding: 0;
  }
    
  /* Increase the size of buttons */
  button {
    font-size: 12px;
    padding: 15px 20px;
    width: 50%;
    margin-top: 20px;
    margin-bottom: 10px; /* Add bottom margin for vertical stacking */
    margin-right: 10px; /* Reset right margin */
  }

  /* Increase the size of the date header */
  #calendar-header h1 {
    font-size: 2em;
    margin-bottom: 30px;
  }

  /* Format the "no lessons" text */
  .no-lessons {
    font-size: 40px;
    margin-top: 60px;
  }

  .coach-calendar {
    margin: 10px auto;  /* Center the table with auto margins */
    padding: 0;
   min-width: 95%;
  }
  
  .coach-calendar table {
    margin: 0 auto; /* Center the table */
    padding: 0;
    max-width: 100%;  /* Use maximum available width */

  }
  

  /* Table headers and cells */
  th.coach-name, tr.subtitles th, tr td {
    font-size: 1em;
    padding: 15px;
  }

/* Date picker */
.dateSelection {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
}

.buttonGroup {
  display: flex;
  justify-content: center;
  gap: 10px;  /* Add some gap between buttons */
}

  /* Set date picker width */
  #datePicker {
    width: 60%;
    margin-top: 20px;  /* Add top margin */
  }
}