.hipaa-cta-wrap {
  text-align: center;
  padding: 20px 15px;
  background-color: #F6F6F8;
  border-radius: 15px;
}

.hipaa-cta-wrap h4 {
  font-size: 2.5rem;
  margin: 0 0 15px;
}

/* Open Modal Button */
.trigger-btn {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #7b424e;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-bottom: 15px;
}

.trigger-btn:hover {
  background-color: #63333e;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Window */
.modal {
  position: relative;
  background-color: #ffffff;
  width: 90%;
  max-width: 480px;
  padding: 35px 30px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  color: #888888;
  cursor: pointer;
  line-height: 1;
}

.close-btn:hover {
  color: #333333;
}

/* Title */
.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 24px;
  line-height: 1.35;
}

/* Form Styles */
.hi-form-group {
  margin-bottom: 12px;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .hi-form-group {
  flex: 1;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  color: #333333;
  border: 1px solid #e2e2e2;
  border-radius: 3px;
  outline: none;
  background-color: #fafafa;
}

.form-input::placeholder {
  color: #999999;
}

.form-input:focus {
  border-color: #7b424e;
  background-color: #ffffff;
}

/* Validation Error Styles */
.hi-form-group.error .form-input {
  border-color: #c94040;
}

.error-message {
  display: none;
  font-size: 12px;
  color: #c94040;
  margin-top: 4px;
}

.hi-form-group.error .error-message {
  display: block;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  margin-top: 10px;
  padding: 12px 20px;
  background-color: #7b424e;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background-color: #63333e;
}

.arrow-icon {
  background-color: #ffffff;
  color: #7b424e;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.sub-text {
  font-size: 14px;
  color: #777777;
  margin-top: 24px;
  line-height: 1.4;
}

.privacy-text {
  font-size: 13px;
  color: #7b424e;
  font-weight: bold;
  margin-top: 18px;
}

#form-response {
  font-size: 1.5rem;
  text-align: center;
  margin: 15px 0;
  min-height: 20px;
}

#form-response.success {
  color: green;
}

#form-response.error {
  color: red;
}