.custom-modal {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(67, 59, 70, 0.5); /* Semi-transparent dark overlay */
}

.custom-modal__content {
  position: relative;
  background: #fff;
  width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  border: 1px solid #707070;
  box-shadow: 0 5px 10px rgba(0,0,0,0.161);
  z-index: 1001;
  overflow: hidden;
}

.custom-modal__header {
  position: sticky;
  top: 0;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px;
  border-bottom: 1px solid #c8c6c9;
  z-index: 10;
}

.custom-modal__header_title {
  font-size: 24px;
  color: #a19da3;
  font-family: Quicksand, Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.custom-modal__body {
  padding: 16px;
  overflow-y: auto;
  max-height: calc(90vh - 60px); /* Adjust based on header height */
  color: #433b46;
  line-height: 1.5;
  text-align: left;
}

.custom-modal__close-button {
  width: 24px;
  height: 24px;
  cursor: pointer;
}
#modal-close {
  background: none;
  border: 0px;
}
.modal-content{
  display: none !important;
}

/* Custom modal styles */
.custom-modal__body--pink {
  background-color: #fbe9f2 !important; /* light pink background */
  padding: 16px;
  overflow-y: auto;
  max-height: calc(90vh - 60px); /* Adjust based on header height */
  color: #433b46;
  line-height: 1.5;
  text-align: center;
}

/* Apply pink background to the entire modal body */
.custom-modal__body.pink-background {
  background-color: #fbe9f2 !important; /* light pink background */
}

/* Apply green background to the entire modal body */
.custom-modal__body.green-background {
  background-color: #e8f5e9 !important; /* light green background */
}

/* Button styles */
.custom-modal__btn-primary {
  background-color: #c90092; /* magenta / purple button */
  color: white;
  border-color: #c90092;
}

.custom-modal__btn-primary:hover {
  background-color: #a8007a;
  border-color: #a8007a;
}

.custom-modal__btn-secondary {
  background-color: #e2e2e2;
  color: #333;
  border-color: #d5d5d5;
}

.custom-modal__btn-secondary:hover {
  background-color: #d5d5d5;
  border-color: #c8c8c8;
}
