/* Shared modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  padding: 130px 15px 15px 15px;
  
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 40px 80px;
  border-radius: 36px;
  max-width: 900px;
  width: 100%;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  text-align: center;
}

/* Contact link style for modal */
.modal-contact-link {
  font-weight: bold;
  font-weight: 800;
  text-decoration: underline;
  color: #5C068C;
  white-space: nowrap;
}

#contactModal .contact-modal-h {
    color: #5C068C;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
}

#contactModal .modal-close {
  position: absolute;
  right: 22px;
  top: 0px;
  font-size: 36px;
  font-weight: bold;
  color: #972C8C;
  cursor: pointer;
}

#contactModal .modal-divider {
  height: 3px;
  position: absolute;
  left: 39%;
  width: 24%;
  background: linear-gradient(90deg, rgba(85,40,134,1) 0%, rgba(85,40,134,0) 100%);
}

#contactModal .contact-modal-p {
    margin-top: 33px;
    color: #5C068C;
    font-weight: 650;
    font-size: 17px;
    padding-left: 28px;
    padding-right: 28px;
}

/* Privacy Policy modal */
#privacyModal .privacy-modal-h {
    color: #5C068C;
    font-weight: 800;
}

#privacyModal .privacy-modal-p {
    margin-top:20px;
    color: #5C068C;
    font-weight: 500;
    font-size: 20px;
}

#privacyModal .modal-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.modal-btn {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.modal-btn.continue {
  background: #972C8C;
  color: #fff;
}

.modal-btn.cancel {
  background: #972C8C;
  color: #fff;
}


@media (max-width: 480px) {
    .modal {
      padding: 70px 15px 15px 15px;
    }

    #privacyModal .modal-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
    }

    #privacyModal .modal-btn{
        width: 60%;
    }

  .modal-content {
    padding: 40px 15px;
  }

  #contactModal .modal-divider{
    width: 65%;
    left: 18%;
  }
}