/** @format */
/* The Modal */
.modal {
  display: none;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  /* background-color: #242020; */
  background-color: white;
  color: rgb(0, 0, 0);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  /* height: 40vh; */
  /* Could be more or less, depending on screen size */
  border-radius: 10px;
}
.confirmation img {
  width: 30px;
}
.confirmation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.confirmation_note {
  padding: 25px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}
/* Close Button */
.close_modal {
  /* color: #aaa;*/
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.buttons {
  text-align: center;
}

#confirmBtn {
  background-color: #4caf50;
  color: white;
  padding: 8px 45px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  font-weight: bolder;
  font-size: 13px;
}

#confirmBtn:hover {
  background-color: #317034;
}
#cancelBtn {
  background-color: #ae2424;
  color: white;
  padding: 8px 45px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  font-weight: bolder;
  font-size: 13px;
}
#cancelBtn:hover {
  background-color: #5a2e2e;
}

/* ------------first Model---------------- */

/** @format */
/* The Modal */
.first_modal {
  display: none;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.first_modal-content {
  /* background-color: #242020; */
  background-color: white;
  color: rgb(0, 0, 0);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  /* height: 40vh; */
  /* Could be more or less, depending on screen size */
  border-radius: 10px;
}
.first_confirmation h2 {
  font-size: 2rem;
  color: #ae2424;
}
.first_confirmation img {
  width: 30px;
  height: 30px;
}
.first_confirmation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.first_confirmation_note {
  padding: 25px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}
.first_confirmation_note p {
  font-size: 0.95rem;
}
/* Close Button */
.first_close_modal {
  /* color: #aaa;*/
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.first_close:hover,
.first_close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.first_buttons {
  text-align: center;
}

/* #first_confirmBtn {
  background-color: #4caf50;
  color: white;
  padding: 8px 45px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  font-weight: bolder;
  font-size: 13px;
}

#first_confirmBtn:hover {
  background-color: #317034;
} */
#first_cancelBtn {
  background-color: #ae2424;
  color: white;
  padding: 8px 45px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  font-weight: bolder;
  font-size: 13px;
}
#first_cancelBtn:hover {
  background-color: #5a2e2e;
}

/* //////2nd Confirmation Model //// */

.second_modal {
  display: none;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.second_modal-content {
  /* background-color: #242020; */
  background-color: white;
  color: rgb(0, 0, 0);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 10px;
}
.second_confirmation h2 {
  font-size: 2rem;
  color: #ae2424;
}
.second_confirmation img {
  width: 30px;
  height: 30px;
}
.second_confirmation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.second_confirmation_note {
  padding: 25px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}
.second_confirmation_note p {
  font-size: 0.95rem;
}
/* Close Button */
.second_close_modal {
  /* color: #aaa;*/
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.second_close:hover,
.second_close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.second_buttons {
  text-align: center;
}

#second_cancelBtn {
  background-color: #ae2424;
  color: white;
  padding: 8px 45px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
  font-weight: bolder;
  font-size: 13px;
}
#second_cancelBtn:hover {
  background-color: #5a2e2e;
}
