/* Modal container */
.gift-link-modal {
  position: fixed; /* Make the modal float */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the modal */
  padding: 20px;
  border-radius: 5px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  z-index: 1000; /* Ensure the modal is on top */
  display: none; /* Initially hidden */
}


/* Modal header */
.gift-link-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e7e7e7;
  padding-bottom: 10px;
}

/* Modal header title */
.gift-link-modal-header h2 {
  margin: 0;
  color: #0a819e;
}

/* Modal close button */
.gift-link-modal-close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* Modal body */
.gift-link-modal-body {
  padding: 20px 0;
  line-height: 1.6;
}

/* Modal body list */
.gift-link-modal-body ul {
  padding-left: 20px;
}

/* Media query for smaller screens */
@media (max-width: 600px) {
  .gift-link-modal {
    width: 100%;
    padding: 10px;
    max-width: none;
  }

  .gift-link-modal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gift-link-modal-header h2 {
    font-size: 1.5em;
  }

  .gift-link-modal-close {
    font-size: 24px;
  }

  .gift-link-modal-body {
    padding: 10px 0;
  }
}