/* 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;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--hairline, #262626);
  border-radius: 2px;
  background: transparent;
  color: #6b7280;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: var(--primary, #2354e6);
  background: var(--primary, #2354e6);
  color: var(--primary-foreground, #fff);
  outline: none;
}

.modal-close:active {
  transform: translateY(1px) scale(0.97);
}

.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-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--primary, #2354e6);
  border-radius: 999px;
  background: var(--primary, #2354e6);
  color: var(--primary-foreground, #fff);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1rem;
  box-shadow: 0 0 0 rgba(35, 84, 230, 0);
  transition: color 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.3s ease,
    transform 0.2s ease;
}

.modal-button:hover,
.modal-button:focus-visible {
  border-color: var(--cyan, #c3f53c);
  background: var(--cyan, #c3f53c);
  color: var(--background, #000);
  box-shadow: 0 0 24px rgba(195, 245, 60, 0.22);
  outline: none;
}

.modal-button:active {
  transform: translateY(1px) scale(0.99);
}

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


.input-box {
  position: relative;
}


.button-box {
  position: relative;
}

