

body {
  font-family: 'Roboto', sans-serif;
  /* https://webgradients.com */
  /* background: linear-gradient(135deg, #71b7e6,#9b59b6); */
  /* background: linear-gradient(135deg, #b6fbff, #83a4d4); */
  /* background: linear-gradient(180deg, #005aa7, #fffde4); */
  /* background: linear-gradient( 95.2deg, rgba(173,252,234,1) 26.8%, rgba(192,229,246,1) 64% ); */
  /* background-image: linear-gradient(to bottom right, #FDFCFB, #E2D1C3); */
  /* background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
  /* background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%); */
  background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  /* background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%); */
  /* background-image: linear-gradient(to top, #a3bded 0%, #6991c7 100%); */
  /* background-image: linear-gradient(45deg, #93a5cf 0%, #e4efe9 100%); */
  padding: 50px;
}


.title {
  font-size: 48px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  color: #2c3e50;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  background-image: linear-gradient(45deg, #608bcb, #1b345d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: gradient-animation 5s ease infinite;
}

@keyframes gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  border: 1px solid black;
  padding: 8px;
  text-align: center;
}
th {
  background-color: #c3cfe2;
}
td {
  background-color: #ffffff;
}

caption{
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
}

.TopLeft{
  font-size: 12px;
  padding: 0px;
}


  /*                              ------- RACE INFO --------                           */
  
  .vmaContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    min-width: 200px;
    background: #ffffff59;
    padding: 0px;
    border-radius: 5px;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .label {
    white-space: nowrap;
    width: 100px;
    flex-shrink: 0;
    margin-left: 25px;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    color: #000000;
  }
  
  .sub-label {
    white-space: nowrap;
    margin-right: 10px;
    margin-left: 25px;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    color: #000000;
  }

  .input {
    width: 110px;
    font-weight: bold;
    font-size: 12px;
  }

  .smaller-input {
    width: 100px;
    text-align: center;
    color:  #0421c3;
    font-weight: bold;
    font-size: 16px;
  }

  .larger-input {
    width: 390px;
    text-align: center;
    color:  #c30404;
    font-weight: bold;
    font-size: 16px;
  }
  
  .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
  }
  
  
  /*                              ------- INPUT TABLE --------                           */

.Table-Container{
  display: flex;
  justify-content: center;
  width: 100%;
  background: #ffffff7e;
  padding: 10px;
  border-radius: 5px;
  border-collapse: collapse;
  margin-top: 50px;
  margin-bottom: 20px;
}


/*                              ------- OUTPUT TABLE --------                           */
.outputTableContainer {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  background-color: white;
}

.outputTableContainer table {
  border-collapse: collapse;
}

.outputTableContainer th, .outputTableContainer td {
  border: 1px solid black;
  padding: 8px;
  text-align: center; 
}

/* .outputTableContainer td input[type="checkbox"] {
  margin: 0;
  display: block;
  margin: auto;
} */




#outputTable tr:nth-last-child(1) td,
#outputTable tr:nth-last-child(1) th,
#outputTable tr:nth-last-child(2) td,
#outputTable tr:nth-last-child(2) th {
  border: none;
}



  

/*                              ------- BUTTON --------                           */
button {
  padding: 10px 20px;
  background-color: #4c6baf;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #2c44ae;
}

 .button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

.centered-button {
  margin: 0 10px;
}

.centered-button2 {
  margin: 0 10px;
}

.buttonCell, .footerCell {
  white-space: nowrap; 
}

.move-icon-button, 
.delete-icon-button {
  cursor: pointer;
  border: none;
  background-color: transparent;
  padding: 0;
  display: inline-block;
  margin-left: 5px; 
  margin-right: 5px; 
  font-size: 20px;
  color: #a1a1a15f;
  transition: color 0.2s ease;
}

.add-icon-button, 
.open-icon-button, 
.save-icon-button,
.schedule-icon-button,
.print-icon-button {
  cursor: pointer;
  border: none;
  background-color: transparent;
  padding: 0;
  display: inline-block;
  margin-left: 30px; 
  margin-right: 30px; 
  color: #a1a1a15f;
  transition: color 0.2s ease;
}

.add-icon-button.material-icons, 
.open-icon-button.material-icons, 
.save-icon-button.material-icons, 
.schedule-icon-button.material-icons, 
.print-icon-button.material-icons {
  transform: scale(2);
}

.move-icon-button:hover, 
.open-icon-button:hover, 
.save-icon-button:hover,
.schedule-icon-button:hover,
.print-icon-button:hover {
  color: #2c44ae; 
  background-color: transparent;
}

.delete-icon-button:hover {
  color: #c50303; 
  background-color: transparent;
}

.add-icon-button:hover {
  color: #2cae4a;
  background-color: transparent;
}


/* Optional: Add some basic styles to the tooltip */
.button-with-tooltip {
  position: relative;
}

.button-with-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  padding: 6px 12px;
  background-color: transparent;
  color: transparent;
  border-radius: 4px;
  font-size: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: color 0.2s ease;
  transform: translateX(-50%) translateY(200%);
}

/* Show the tooltip on hover */
.button-with-tooltip:hover::after {
  opacity: 1;
  color: rgb(90, 89, 89);
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}


/*                              ------- INPUT --------                           */
  

input {
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    text-align: center;
  }

  input[required]{
    /* Add red asterisk on the top right corner*/
    background-image: radial-gradient(#F00 15%, transparent 16%), radial-gradient(#F00 15%, transparent 16%);
    background-size: 1em 1em;
    background-position: right top;
    background-repeat: no-repeat;
}

.input-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 10px;
}

/* hide spinners  */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}


/*                              ------- For Small Screens --------                           */
@media (max-width: 480px) {
  .form-group {
    flex-wrap: wrap;
  }

  .label {
    width: 100%;
    margin-bottom: 5px;
  }

  .input-container {
    flex-basis: 100%;
  }

  .input {
    flex-basis: 50%;
  }
}








