.time_added {
  width: 90%;
  border-radius: 3px;
  margin: 2px 0;
  padding: 10px 3px;
  font-weight: bolder;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
  display: block; /* Initially hidden */
  z-index: 9999; /* Ensure it's on top of other elements */
}

/* Style for the loading spinner */
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
}

/* Animation for the spinner */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.time_added_h3 {
  display: flex;
  justify-content: center;
}

.text_added {
  width: 90%;
  border-radius: 1px;
  margin: 2px;
  padding: 10px 10px;
}

.save_added {
  background-color: var(--bacgroud_1);

  color: var(--text_color_4);
  padding: 10px 35px;
  border-radius: 5px;
  font-size: medium;
  transition: 0.5s;
  border: none;
  outline: none;
  margin: 10px;
  cursor: pointer;
}

.save_added:hover {
  background-color: var(--bacgroud_2);
  color: var(--text_color_2);
}

.over_time_records h4 {
  width: 50px;
}
.over_time_records h4 a {
  text-decoration: none;
  color: var(--bacgroud_1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}
.over_time_records h4 a:hover {
  color: var(--text_color_2);
}

.date_range {
  width: 150px;
  margin: 0;
  background-color: aqua;
}

.savetim_form {
  margin: 0;
  /* width: 350px; */
  padding: 0;
}

.selctions_printing {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  color: var(--text_color_2);
  width: 92%;
  margin: 0px auto;
  margin-left: 120px;
}

.selctions_printing label {
  font-weight: bolder;
  color: var(--text_color_2);
}

.selctions_printing table {
  width: 100%;
}
.selctions_printing td {
  /* text-align: center; */
  color: var(--text_color_2);

  padding: 10px 30px;
  margin: 20px;
  background-color: var(--bacgroud_1);
  width: 20%;
  border-radius: 10px;
}
.selctions_printing td div {
  color: var(--text_color_3);
  margin-left: 0px;
}

.selctions_printing td button {
  background-color: var(--bacgroud_2);
}

.hour_over i {
  color: red;
}
.flex_report {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.roster_table i {
  color: var(--text_color_gray_trans);
  font-size: small;
}
.pagination {
  display: flex;
  justify-content: end;
  align-items: center;
}
.pagination a {
  background-color: var(--text_color_4);
  color: var(--text_color_1);
  text-decoration: none;
  padding: 5px 20px;
  margin: 20px;
  border-radius: 5px;
  transition: 0.5s;
}
.pagination a:hover {
  background-color: var(--text_color_2);
  color: var(--text_color_3);
}
.save_btn_timeshee input {
  height: 20px;
  padding: 20px;
}

@media screen and (max-width: 1024px) {
  .selctions_printing {
    width: 99%;
    margin: 0;
  }
  .selctions_printing h3 {
    font-size: small;
  }
  .selctions_printing td div {
    font-size: x-small;
  }
  .date_range {
    font-size: x-small;
    width: 100px;
  }
  .selctions_printing td button {
    font-size: x-small;
    text-align: center;
    width: 100px;
  }
  .selctions_printing td {
    width: 50%;
  }

  .save_btn_timeshee {
    display: none;
  }
  .shift_comment {
    display: none;
  }
}
