  /* Share modal form – design system tokens only (common.css). SharpSans only. */

/* Keep the page-level template hidden; .share-form { display: grid } would override [hidden] */
#share-form-template[hidden],
form.share-form[hidden] {
  display: none !important;
}

.cgh-mc-modal__body .share-form,
.share-form {
  display: grid;
  gap: 1rem;
}

.cgh-mc-modal__body .share-form .share-modal-title,
.share-form .share-modal-title {
  width: 100%;
  max-width: 405px;
  height: 36px;
  margin: 0 0 0.5rem 0;
  color: rgb(var(--color-near-black));
  font-family: var(--font-family-bold);
  font-size: 35px;
  font-weight: 700;
}

.cgh-mc-modal__body .share-form .share-form-add-recipient,
.share-form .share-form-add-recipient {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--color-primary);
  font-family: var(--font-family-medium);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.cgh-mc-modal__body .share-form .share-form-add-recipient:hover,
.share-form .share-form-add-recipient:hover {
  text-decoration: underline;
}

.cgh-mc-modal__body .share-form .share-add-recipient-icon,
.share-form .share-add-recipient-icon {
  font-size: 15px;
}

.cgh-mc-modal__body .share-form .share-form-message-row,
.share-form .share-form-message-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 8px;
}

.cgh-mc-modal__body .share-form .share-form-message-label,
.share-form .share-form-message-label {
  color: rgb(var(--color-near-black));
  font-family: var(--font-family-medium);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.cgh-mc-modal__body .share-form .share-form-char-count,
.share-form .share-form-char-count {
  font-family: var(--font-family-medium);
  font-size: 14px;
  font-weight: 500;
  color: rgb(var(--color-near-black));
  line-height: 17px;
  text-align: right;
}

.cgh-mc-modal__body .share-form .share-form-actions,
.share-form .share-form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 0.5rem;
}

.cgh-mc-modal__body .share-form .share-recaptcha-container[data-recaptcha-sitekey=""],
.share-form .share-recaptcha-container[data-recaptcha-sitekey=""] {
  display: none;
}
