/* Bootstrap-like modal styles */
[data-bs-toggle="modal"] {
  cursor: pointer;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1055;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
  display: block;
}

.modal-content {
  position: relative;
  background-color: #fff;
  color: #212529;
  border: 1px solid rgba(0, 0, 0, 0.175);
  border-radius: 0.5rem;
  max-width: 500px;
  margin: 1.75rem auto;
  padding: 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  max-height: calc(100vh - 3.5rem);
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #000;
  opacity: 0.5;
  cursor: pointer;
  padding: 0;
}

.modal-close:hover {
  opacity: 1;
}

.modal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-right: 2rem;
  color: #212529;
}

.modal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  color: #212529;
}

.modal-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  color: #212529;
}

.modal-content p {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #495057;
}

.modal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  list-style: disc;
  font-size: 0.9rem;
  color: #495057;
}

.modal-content ul li {
  margin-bottom: 0.2rem;
}

.modal-button {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  background-color: #0d6efd;
  color: #fff;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.15s ease-in-out;
}

.modal-button:hover {
  background-color: #0b5ed7;
}

body.modal-open {
  overflow: hidden;
}
.custom_btn {
  margin-top: 35px;
}


.input-box {
  position: relative;
}


.button-box {
  position: relative;
}

