.report_db {
  width: 92%;
  margin: auto;
  background-color: var(--bacgroud_1);
  border-radius: 5px;
  margin-left: 120px;
}

.report_db_print {
  width: 100%;
  margin: auto;
  background-color: var(--bacgroud_2);
  border-radius: 5px;
}

.editNoteForm {
  background-color: var(--bacgroud_1);
  display: none;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  width: 100%;
}
.editNoteForm textarea,
.editNoteForm input {
  width: 80%;
  margin: 0;
  border-radius: 0;
  padding: 15px;
  background-color: var(--bacgroud_3);
}

.editNoteForm button {
  /* width: 20%; */
  margin: 0 5px;
  padding: 7px;
  background-color: var(--bacgroud_3);
}

.db {
  /* background-color: cadetblue; */
  margin: 40px 0;
  padding: 10px;
  border-radius: 10px;
}

#page {
  display: none;
}

#edit_note {
  cursor: pointer;
  /* background-color: brown; */
  padding: 0;
  border-radius: 10px;
  margin: 0;
  height: 30px;
  opacity: 0;
  transition: 0.5s;
  color: var(--text_color_1);
  display: none;
}

#add_time_sheet {
  cursor: pointer;
  /* background-color: brown; */
  padding: 0;
  border-radius: 10px;
  margin: 0;
  height: 30px;
  opacity: 0;
  transition: 0.5s;
  color: var(--text_color_1);
}

.edit_note {
  display: flex;
  align-items: first baseline;
  justify-content: center;
  width: 100%;
}

/* .edit_note:hover #edit_note {
   display: none;
} */

.add_time_sheet {
  position: absolute;
  top: 0;
  display: flex;
  align-items: first baseline;
  justify-content: center;
  width: 100%;
}

.add_time_sheet:hover #add_time_sheet {
  opacity: 1;
}

.db table {
  width: 100%;
  /* background-color: aqua; */
  /* text-align: center; */
}

th,
td {
  border: 0.5px solid var(--bacgroud_2);
  color: var(--text_color_1);
  text-align: center;
}

td {
  padding: 10px;
}

td a,
th a,
h2 a {
  text-decoration: none;
  color: var(--text_color_1);
  display: flex;
  justify-content: center;
  align-items: center;
}

th {
  background-color: var(--bacgroud_2);
}

.note_db {
  /* display: flex;
  justify-content: center;
  align-items: center; */
  max-width: 300px;
}

.report_db h2 {
  /* color: rgb(166, 249, 255); */
  border-bottom: 0.5px solid rgba(184, 239, 255, 0.466);
  margin: 0;
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}

.report_db_print th,
.report_db_print td {
  color: var(--text_color_2);
}

.clockin_container {
  width: 40%;
  margin: auto;
  overflow: hidden;
}

.clockin_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200%;
  margin: auto;

  transition: 1s;
}

.am_or_pm_wrap {
  margin: 10px auto;
  border-radius: 10px;
  padding: 100px 20px;
  width: 80%;
  text-align: center;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.164);
  background-color: var(--bacgroud_2);
  /* background-color: black; */
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  transition: 1s;
}

.am_or_pm_wrap a {
  border-radius: 5px;
  background-color: var(--bacgroud_1);
  text-decoration: none;
  padding: 10px 20px;
  color: var(--text_color_1);
  margin: 50px 20px;
  transition: 0.5s;
  text-align: center;
  font-weight: bold;
}

.am_or_pm_wrap a:hover {
  background-color: var(--text_color_3);

  color: var(--text_color_2);
}

.clock_anim {
  width: 40%;
  margin: 20px;
}

.report_nav {
  position: fixed;
  top: 80px;
  right: 8%;
  display: block;
  /* width: 50px; */
}

.report_nav p {
  background-color: var(--bacgroud_2);
  border-radius: 5px;
  font-size: x-small;
  margin: 2px;
  width: 90px;
  padding: 10px;
  cursor: pointer;
}

.button_print {
  /* background-color: black; */
  color: aliceblue;
  margin-bottom: 0px;
  display: flex;
  justify-content: center;
}

.button_print a {
  border: none;
  border-radius: 5px;
  background-color: var(--bacgroud_2);
  text-decoration: none;
  padding: 10px 50px;
  color: var(--text_color_1);
  margin: 20px;
  transition: 0.5s;
  font-weight: bold;
  cursor: pointer;
}

.button_print a:hover {
  background-color: var(--text_color_2);
  color: var(--text_color_1);
}

.retrieve_data {
  margin: auto;
  text-align: center;
  width: fit-content;
}

.retrieve_data input {
  width: 150px;
  border: none;
  outline: none;
  color: var(--text_color_2);
  height: 35px;
  padding: 0px 10px;
  border-bottom: solid 1px var(--text_color_2);
  border-radius: 20px;
  margin-bottom: 10px;
  margin-right: 20px;
  background-color: var(--bacgroud_2);
}

#button_delete {
  /* background-color: var(--text_color_2); */
  text-decoration: none;
  color: var(--text_color_4);
  /* padding: 0px 15px; */
  /* border-radius: 5px; */
  font-size: small;
  transition: 0.5s;
}

#button_delete:hover {
  color: var(--bacgroud_2);
}

.over_lay_delete {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(105, 203, 212, 0.884);
  display: flex;
  justify-content: center;
  align-items: center;
}

.over_lay_delete a {
  border-radius: 5px;
  background-color: var(--bacgroud_1);
  text-decoration: none;
  padding: 10px 50px;
  color: var(--text_color_1);
  margin: 20px;
  transition: 0.5s;
  font-weight: bold;
  margin: 20px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.603);
}

.critical_report {
  overflow: hidden;
  min-height: 200px;
  max-height: 500px;
  background-color: var(--bacgroud_1);
  padding: 75px 0 20px 0;
  width: 90%;
  border-radius: 10px;
  /* box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.167); */
  cursor: pointer;
  margin-left: 100px;
}

.critical_report .db .live_show_0 table tr th,
.critical_report .db .live_show_0 table tr td {
  color: var(--text_color_2);
}

.report_db_print .note_db,
.note_db,
.critical_header,
.critical_report .db .live_show_0 table tr .note_db {
  color: rgb(187, 46, 46);
}

.report_db_print th a,
.report_db_print td a,
.report_db_print h2 a {
  color: var(--text_color_2);
  text-decoration: none;
  /* background-color: blueviolet; */
}

.live_show_0 {
  /* background-color: #3498db2c; */
  margin-bottom: 40px;
  padding-top: 50px;
}

.live_show_0 tbody tr:nth-child(odd) {
  background-color: var(--bacgroud_transparent);
}

#loadingContainer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.733);
}

.loadingCircle {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Style for the modal container */
.modal {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /* Semi-transparent background */
  z-index: 1050;
  display: none;
  /* Ensure it's above other elements */
}

/* Style for the modal content */
.modal-content {
  position: absolute;
  top: 45%;
  left: 45%;
  /* transform: translate(-50%, -50%); */
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Style for the loading dots */
#loadingDots {
  animation: loadingDots 1s infinite;
  padding-left: 5px;
}

@keyframes loadingDots {
  0% {
    content: "";
  }

  25% {
    content: ".";
  }

  50% {
    content: "..";
  }

  75% {
    content: "...";
  }
}
.edit_note_input {
  min-width: 70%;
  max-width: 70%;
  padding: 10px;
  background-color: var(--text_color_1);
}
.new_input {
  display: none;
}
.new_input select {
  width: 80%;
  margin: 10px;
}
.new_input input {
  width: 70%;
  margin: 10px;
  padding: 20px 10px;
}
.textarea_con {
  /* background-color: yellow; */
  margin: 0px auto;

  width: 90%;
}
.new_input textarea {
  max-width: 1000px;

  padding: 10px;
  margin-right: 20px;
}
.submitLS button {
  border: none;
  border-radius: 5px;
  text-decoration: none;
  padding: 10px 30px;
  background-color: var(--bacgroud_2);
  color: var(--text_color_1);
  margin: 20px;
  transition: 0.5s;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 5px;
}
button {
  border: none;
  border-radius: 5px;
  text-decoration: none;
  padding: 10px 30px;
  background-color: var(--bacgroud_2);
  color: var(--text_color_1);
  margin: 0;
  transition: 0.5s;
  font-weight: bold;
  cursor: pointer;
}
button:hover {
  background-color: var(--text_color_4);
  color: var(--text_color_2);
}

.submitLS {
  border: none;
  padding: 0px;
  margin: 0;
  text-align: left;
  position: relative;
}
.submitLS a {
  color: var(--text_color_4);
  transition: 0.5s;
}
.submitLS a:hover {
  color: var(--text_color_2);
}

#customInput {
  display: none;
}

#upsread {
  max-width: 100px;
  /* width: fit-content; */
}

#roster_date {
  width: 50%;
  /* background-color: blue; */
  padding: 20px;
}
.retrieve_form_cont {
  position: fixed;
  top: 0px;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: var(--bacgroud_5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none;
}

.retrieve_form {
  background-color: var(--bacgroud_1);
  padding: 50px 50px;
  box-shadow: var(--shadow);
  border-radius: 5px;
  width: 70%;
  margin-top: 10px;
}

.date_crit {
  margin-bottom: 50px;
  color: var(--text_color_2);
}
.leave_class {
  width: fit-content;
  padding: 10px;
  background-color: var(--bacgroud_2);
}
.top_note_div {
  /* background-color: #3498db2c; */
  padding: 5px;
}
.top_note {
  min-width: 1000px;
  max-width: 1000px;
  margin: 0;
  min-height: 200px;
  font-size: large;
}
.engineer_report {
  color: var(--text_color_3);
  font-size: large;

  font-weight: bolder;
}
.active_shift {
  background-color: var(--bacgroud_2);
  color: var(--text_color_3);
  font-size: large;
  font-weight: bolder;
  box-shadow: var(--shadow);
}
.shift_date_select {
  position: relative;
  cursor: pointer;
}
.calendar-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  margin: auto;
  background-color: var(--bacgroud_1);
  box-shadow: var(--shadow);
  display: none;
  transition: opacity 0.5s;
  opacity: 0;
}

.show_calendar {
  display: block;
  opacity: 1;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-days,
.calendar-dates {
  display: contents;
}

.calendar-days span {
  font-weight: bold;
  text-align: center;
}

.calendar-dates span {
  text-align: center;
  cursor: pointer;
}

.calendar-dates .selected {
  background-color: var(--text_color_4); /* Blue background */
  color: var(--text_color_1); /* White text */
  border-radius: 20px; /* Circle */
  font-weight: bolder;
  padding: 0 5px;
}

.calendar-dates span:hover {
  background-color: #f0f0f0;
  border-radius: 5px;
}

.month_btn {
  border: none;
  outline: none;
  padding: 5px 10px;
  border-radius: 10px;
  color: var(--text_color_3);
}

.submit_overlay_status {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000bb;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  /* display: none; */
}

.submit_overlay_status_content {
  background-color: var(--text_color_1);

  color: var(--text_color_2);
  text-align: center;
  padding: 50px 100px;
  border-radius: 10px;
}

.submit_overlay_status_content button {
  background-color: var(--bacgroud_1);
  padding: 10px 50px;
}

.submit_overlay_status_content button:hover {
  background-color: var(--text_color_2);
  color: var(--text_color_1);
}
.tick_success {
  background-color: var(--bacgroud_green);
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 50px auto;
}

.tick_success span {
  color: var(--text_color_1);
  font-size: 100px;
  font-weight: bolder;
}

.report_navigation_menu {
  position: fixed;
  top: 50%;
  right: -5.5%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-around;

  text-align: center;
  background-color: var(--bacgroud_1);
  width: fit-content;
  padding: 20px;
  border-radius: 20px;
  margin-left: 120px;
  border: var(--border);
  box-shadow: var(--shadow);
  transition: 0.5s ease-in-out;
  opacity: 0;
}
.appeared {
  right: 0;
  opacity: 1;
}
.report_navigation_menu a {
  text-decoration: none;
  color: var(--text_color_2);
  margin: 5px;
  font-size: small;
  border-radius: 5px;
  padding: 5px 10px;
  transition: 0.5s;
}
.report_navigation_menu a:hover {
  transform: scale(1.05);
}
/* --------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 1024px) {
  .report_db {
    width: 100%;
    margin: 0;
    padding-bottom: 100px;
  }

  .db {
    width: 99%;
    font-size: xx-small;
    margin: 20px 2px;
    padding: 5px 0px;
  }

  .report_db h2 {
    /* color: rgb(166, 249, 255); */
    border-bottom: 0.5px solid rgba(184, 239, 255, 0.466);
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
  }

  .missing_media_id {
    width: 100%;
  }

  .clockin_container {
    width: 100%;
    margin: auto;
    overflow: hidden;
  }

  .am_or_pm_wrap {
    display: flex;
    justify-content: center;
    width: 90%;
    padding: 50px 15px;

    margin-top: 50px;
  }

  .critical_report {
    width: 100%;
    min-height: 50px;
    margin: 0;
  }

  .report_nav {
    box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.226);
    top: auto;
    bottom: 50px;
    right: 0%;
    transform: translateX(0%);
    background-color: white;
    width: 100vw;
    padding-bottom: 50px;
    transform: scaleY(1);
    transition: 0.5s;
    transform-origin: bottom;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .report_nav p {
    background-color: var(--bacgroud_2);
    border-radius: 5px;
    font-size: x-small;
    margin: 2px;

    padding: 22px 0;
    cursor: pointer;
    width: 48%;
  }
  .retrieve_data input {
    width: 100px;
  }
  .retrieve_data button {
    padding: 15px 20px;
    background-color: var(--bacgroud_2);
  }

  .edit_note_input {
    min-width: 70%;
    max-width: 70%;
    padding: 10px;
    background-color: var(--text_color_1);
  }

  button {
    padding: 0;
  }
  tr {
    font-size: x-small;
    /* display: table-row; */
  }

  td {
    padding: 10px 2px;
  }
  .edit_note {
    width: 100%;
    /* background-color: rgba(121, 121, 133, 0.185); */
    margin: 0;
    padding: 0;
  }
  .edit_note span {
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
  }
  .textarea_con {
    /* background-color: yellow; */
    margin: 0px auto;
    width: 90%;
  }
  .new_input textarea {
    max-width: 150px;
    min-width: 50px;
  }
  input,
  select,
  textarea {
    font-size: x-small;
    margin: 0;
  }
  .note_db {
    color: red;
  }
  .new_input button {
    font-size: x-small;
    padding: 5px 10px;
  }

  .switch_keys {
    background-color: skyblue;
    padding: 5px 20px;
    border-radius: 5px;
    text-align: center;
    color: white;
    cursor: pointer;
    border: none;
    outline: none;
  }

  .report_navigation_menu {
    opacity: 1;
    padding: 10px 0;
    margin-left: 0;
    right: -50%;
  }

  .appeared {
    right: 0;
    opacity: 1;
  }

  .report_navigation_menu a {
    margin: 2px 5px;
    font-size: xx-small;
  }
}
