.custom-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
}

.custom-modal {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
  z-index: 1051;
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.custom-modal h5 {
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 500;
}

.custom-modal p {
  margin-bottom: 20px;
}

.custom-modal-close-btn {
  padding: 10px 20px;
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.custom-modal-close-btn:hover {
  background-color: #5a6268;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 15% auto;
  padding: 45px 55px;
  width: 90%;
  max-width: 520px;
  border-radius: 0;
}

#voucherModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1100;
}

#voucherModal.show {
  display: block;
}

#voucherModal .voucher-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}

#voucherModal .voucher-modal-content {
  background-color: #fff;
  width: 500px;
  max-width: 90%;
  min-height: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 40px 35px;
  pointer-events: auto;
}

#voucherModal h2 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid #A4A3A3;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

#voucherModal .voucher-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#voucherModal .voucher-input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid #000;
  border-radius: 0;
  font-size: 16px;
  outline: none;
  box-shadow: none;
  background: transparent;
  margin-bottom: 15px;
}

#voucherModal .voucher-input:focus {
  border-bottom-color: var(--primary-color, #000);
  outline: none;
  box-shadow: none;
}

#voucherModal .voucher-input.error {
  border-bottom-color: #dd1010;
}

#voucherModal .voucher-error {
  color: #dd1010;
  margin: 0;
  font-size: 14px;
  display: none;
  width: 100%;
  text-align: center;
  position: static;
}

#voucherModal .voucher-error.is-visible {
  display: block;
}

#voucherModal .voucher-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  width: 100%;
}

#voucherModal .btn-add-voucher,
#voucherModal .btn-cancel-voucher {
  padding: 12px 30px;
  border-radius: var(--radius, 4px);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  text-transform: uppercase;
  min-width: 180px;
  font-weight: 500;
}

#voucherModal .btn-add-voucher {
  background-color: #000;
  color: #fff;
  border: none;
}

#voucherModal .btn-cancel-voucher {
  background-color: transparent;
  color: #000;
  border: 2px solid var(--primary-color, #000);
}

#voucherModal .btn-add-voucher:hover {
  background-color: #333;
}

#voucherModal .btn-cancel-voucher:hover {
  background-color: #ccc;
}


@media (max-width: 575px) {
  #voucherModal .voucher-modal-content {
    padding: 30px 20px;
    min-height: auto;
  }

  #voucherModal .voucher-buttons {
    flex-direction: column;
  }
}


@media (max-width: 575px) {
  #voucherModal .voucher-modal-content {
    padding: 30px 20px;
  }
}

.swal2-actions {
  margin-top: 10px !important;
}

.swal2-styled:focus {
  outline: 0;
  box-shadow: unset !important;
}

.swal2-confirm.swal2-styled,
.swal2-cancel.swal2-styled {
  border: 0;
  border-radius: 0 !important;
}

.swal2-styled.swal2-confirm,
.swal2-cancel.swal2-styled {
  text-transform: uppercase !important;
  border: 1px solid var(--primary-color) !important;
  border-radius: var(--radius) !important;
  background: initial;
  background-color: var(--primary-color) !important;
  color: #fff !important;
  font-size: 16px !important;
}

.swal2-cancel.swal2-styled {
  background-color: #fff !important;
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
}

#swal2-content .price,
#swal2-content .price span {
  font-size: 18px;
  color: #FC5A57;
  text-transform: capitalize;
  margin: 10px 2px 0;
}

.swal2-header {
  border-bottom: 1px solid;
  width: 80%;
  margin: auto;
  margin-bottom: 8px;
}

#swal2-title {
  color: #000 !important;
  font-size: 22px !important;
  margin-bottom: 5px !important;
}

.swal2-content {
  font-size: 18px !important;
  font-weight: 400 !important;
  text-transform: capitalize;
  color: #000 !important;
}

.swal2-styled:hover {
  background-image: unset !important;
}

.swal2-popup {
  padding: 3em !important;
  border-radius: 0 !important;
}