.image-slider {
  max-width: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  text-align: center;
}

.image-box {
  position: relative;
  overflow: hidden;
  width: 80%;
  height: 100%;
  margin: 0 auto;
}

.image-box img {
  object-fit: scale-down;
}

#slider {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

#slider-2 {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

button {
  margin-top: 10px;
}

.table-container {
  text-align: center;
  /* Center the content horizontally */
  margin-top: 20px;
  /* Add a top margin of 20px (you can adjust this value) */
}

.table-container {
  text-align: center;
  /* Center the content horizontally */
  margin-top: 20px;
  /* Add a top margin of 20px (you can adjust this value) */
}

.tg {
  /* border: 1px solid #b3adad; */
  border-collapse: collapse;
  padding: 5px;
  margin: 0 auto;
  width: 80%;
  /* Center the table horizontally within the container */
}

.tg th {
  /*border: 1px solid #b3adad;*/
  padding: 5px;
  background: #ffffff;
  color: #313030;
  width: 80%;
}

.tg td {
  /*border: 1px solid #b3adad;*/
  text-align: center;
  padding: 5px;
  background: #ffffff;
  color: #313030;
}



.date-input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

#datepicker {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

#prevBtn,
#nextBtn {
  height: 38px;
  /* Set the height based on the input's computed height */
  padding: 10px 20px;
  /* Add padding for better button appearance */
  border: none;
  background-color: #007bff;
  /* Blue color */
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  /* Add a smooth transition effect */
}

#prevBtn:hover,
#nextBtn:hover {
  background-color: #0056b3;
  /* Darker blue color on hover */
}
.modalr {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-contentr {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  text-align: justify;
  position: relative;
}

.closer {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  cursor: pointer;
}
#server-error {
  color: red;
  font-weight: bold;
  animation: flashError 1s linear infinite;
}

@keyframes flashError {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}