/* Bootbox 2025 Custom Styling */
.new-bootbox-modal .modal-dialog {
  top: 10vh;
  transform: translateY(-50%);
  /* max-width: 532px; */
  max-width: clamp(300px, 50vw, 420px);
  margin: 0 auto;
}

 

.new-bootbox-modal {
  /* padding: 15px;
  border-radius: 19.916px; */
  /* border: 0.83px solid #cdaa50; */

  /* border-radius: 19.916px; */
  /* border: 0.83px solid var(--gradient, #cdaa50); */
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5.850301742553711px);
}

.new-bootbox-modal .modal-content {
  border-radius: 19.916px;
  background-color: #010001;
  color: #fff;
  padding: clamp(18px, 4vw, 32px);
  position: relative;
  box-shadow: 0px 0px 4px #905e03;
}

.new-bootbox-modal .modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 0.83px solid transparent; /* Match your border width */
  background: linear-gradient(
      115deg,
      #cdaa50 4.94%,
      rgba(142, 91, 0, 0.95) 95.11%
    )
    border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none; /* Ensure pseudo-element doesn't interfere with interactions */
  border-radius: 12px;
}

.new-bootbox-modal .modal-header {
  border-bottom: none;
  background: transparent;
  color: #fff;
  text-align: center;
  padding: 0;
}

.new-bootbox-modal .modal-title {
  color: #fff;
  text-align: left;

  font-family: Raleway;
  font-size: clamp(20px, 4vw, 24px);
  font-style: normal;
  font-weight: var(--h5-weight, 700);
  line-height: 38px; /* 158.333% */
}

.new-bootbox-modal .modal-body {
  background: white;
  border-radius: 24px 24px 0 0;
  color: #fff;
  padding: 15px;
  margin-top:10px;
  padding-bottom: 1px;
  padding-top: 30px;
}

.new-bootbox-modal .modal-footer {
  /* display: none;  Hide the default footer */
}

/* Style buttons inside modal-body */

/* Custom styling for the message content */
.new-bootbox-modal h4 {
}

.new-bootbox-modal p {
  color: #fff !important;
  line-height: 1.5;
}

.new-bootbox-modal .fa-check-circle {
  color: #cdaa50 !important;
}

.modal-backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5.850301742553711px);
}

.boot-message img {
  width: 100px;
}

.boot-message .main-title {
  color: #212121 !important;
  text-align: center;
  font-family: Raleway;
  font-size: clamp(18px, 3.5vw, 22px);
  font-style: normal;
  font-weight: 700;
  line-height: clamp(28px, 5.5vw, 38px); /* 158.333% */
  margin: 5px;
}

.boot-message .main-description {
  color: #767677 !important;

  text-align: center;
  font-family: Raleway;
  font-size: clamp(14px, 2.8vw, 18px) !important;
  font-style: normal;
  font-weight: 500;
  line-height: clamp(24px, 4.5vw, 32px) !important; /* 177.778% */
  letter-spacing: -0.36px;
  text-transform: none;
}
.bootbox-close-button.close {
  position: absolute;
  right: 25px;
  top: 27px;
  color: white !important;
  display: block !important;
}

@media (max-width: 767px) {
  .bootbox-close-button.close{
      right: 10px;
      top: 8px;
    }
}

.bootbox-close-button.close:after {
  content: url("../images/bootbox/close-me.png") !important;
}





.error-modal .bootbox-close-button.close:after {
  filter: brightness(0) saturate(100%) !important;
  top: -16px !important;
}

.new-bootbox-modal .modal-footer {
  text-align: center;
  padding: 15px 20px 30px 20px !important;
  background-color: white;
  border-radius: 0px 0px 24px 24px;
  border: 0;
  display: flex;
  gap: 20px;
}

.new-bootbox-modal .modal-footer .btn {
    display: flex
;
    height: clamp(36px, 4vw, 50px);
    min-width: 150px;
    /* width: 100%; */
    padding: 8px 20px;
    justify-content: center;
    align-items: center;
    gap: var(--button-spacing, 8px);
    flex: 1 0 0;
    border-radius: 10px;
    background: linear-gradient(115deg, #ebcb78 4.94%, #8e5b00 95.11%);
    border: none;
    color: #fff;
    font-family: Raleway;
    font-size: clamp(14px, 3vw, 18px);
    font-style: normal;
    font-weight: 700;
    line-height: 26;
    /* margin-top: 20px; */
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    box-shadow: none !important;
}

.new-bootbox-modal .btn {
  background: #cdaa50;
  border: 1px solid #cdaa50;
  color: #000;
  font-weight: bold;
  border-radius: 10px;
  padding: 10px 30px;
}

.new-bootbox-modal .btn:hover {
  /* background: #8e5b00; */
  border-color: #b8954a;
  /* color: #000; */
}

.error-modal .modal-dialog {
  max-width: 300px;
}

.error-modal .modal-dialog {
}

.error-modal .modal-dialog .modal-content {
  box-shadow: none;
  padding: 0;
  background-color: white;
  position: relative;
  outline: 0;
  box-shadow: 0;
}

.error-modal .new-bootbox-modal .modal-content::before,
.error-modal.new-bootbox-modal .modal-content::before {
  display: none;
}

.error-modal .modal-dialog .modal-content .modal-body {
  margin: 0;
  padding: 10px;
}

.error-modal .main-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  padding: 12px 0;
  margin: 0 !important;
}

.error-modal .main-description {
  font-size: 16px !important;
  font-weight: 500;
  line-height: 24px !important;
  padding: 5px 12px !important;
  margin: 0 !important;
  text-transform: none;
}

.error-modal .modal-footer .btn {
  height: 40px;
  font-size: 16px;
 
}

.error-modal .modal-footer {
  padding: 0;
  padding-bottom: 20px;
}

.error-modal .boot-message img {
  width: 80px;
  margin-top: 30px;
}
