.modal{
  position: fixed;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.modal-header {
color:black;
font-weight: 600;
font-size: 16px;
}

.modal-mask {
  z-index: 9998;
  width: 100%;
  background-color: rgba(0, 0, 0, .5);
  transition: opacity .3s ease;
}

.modal-wrapper {
  position: fixed;
  z-index: 9999 !important;
  overflow: hidden;
}

/* Higher z-index for nested modals (like addon groups inside deal customization) */
.addon-group-modal > .modal-wrapper {
  z-index: 10000 !important;
}

.addon-group-modal > .modal-mask {
  z-index: 9999 !important;
}

/* Alternative selector if class is on parent div */
.addon-group-modal .modal-wrapper {
  z-index: 10000 !important;
}

.addon-group-modal .modal-mask {
  z-index: 9999 !important;
}

.modal-container {
  width: 400px;
  max-height: 90vh;
  margin: 0px auto;
  background: linear-gradient(to bottom, #e7eef3, #ffffff);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
  transition: all .3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-dialog-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - (.5rem * 2));
}

.modal-container-md {
  width: 600px;
}

.modal-container-xl {
  width: 900px;
}

.modal-container-full {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  max-height: 100vh;
}

.modal-container-full .modal-content {
  height: 100%;
  border-radius: 0;
}

.modal-footer >div {
 display: flex;
 flex-direction: row;
 justify-content: end;
 align-items: center;
 gap: 10px;
}

/*
  * The following styles are auto-applied to elements with
  * transition="modal" when their visibility is toggled
  * by Vue.js.
  *
  * You can easily play with the modal transition by editing
  * these styles.
  */

.modal-enter {
  opacity: 0;
}

.modal-leave-active {
  opacity: 0;
}

.modal-enter .modal-container,
.modal-leave-active .modal-container {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.modal-close{
  background: #E3E7EB !important;
  padding-left: 7px !important;
  padding-right: 7px !important;
  border-radius: 2px;
}