/* Give the empty paragraph a fixed height; the text is positioned inside it */
.fider-tiptap-editor .tiptap p.is-empty.tiptap-is-empty {
  position: relative;
  min-height: 260px;
}

/* Top: guidance for a good feature request */
.fider-tiptap-editor .tiptap p.is-empty.tiptap-is-empty::before {
  content: "Help us understand your idea:\A• What are you trying to accomplish in LightBurn?\A• What does LightBurn do today, and where does it fall short for that?\A• How would you like it to work?\A• Your laser or controller type, if it's relevant\A\AOne idea per request, with as much detail as you can." !important;
  white-space: pre-wrap !important;
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  float: none !important;
  height: auto !important;
  pointer-events: none;
}

/* Bottom: support warning, centered */
.fider-tiptap-editor .tiptap p.is-empty.tiptap-is-empty::after {
  content: "Need LightBurn Support assistance? DO NOT post it here - email Support@lightburnsoftware.com";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 600;
  color: #b45309;
  pointer-events: none;
}

.fider-tiptap-editor .tiptap {
  min-height: 280px;
}

/* Welcome message: divider line above the support callout (on the paragraph just before it) */
p:has(+ p > a[href^="mailto:"]) {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.35);
}

/* Welcome message: support paragraph (the one with the mailto link) as a centered callout */
p:has(> a[href^="mailto:"]) {
  text-align: center;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 8px;
  padding: 14px 12px;
}

/* Keep the email address on its own line and unbroken */
p > a[href^="mailto:"] {
  display: block;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  font-size: 0.85em;
  margin: 4px 0;
}