/**
 * MergeTagField component styles
 *
 * Styles the RichEditor to look like a regular text input/textarea
 * while retaining merge tag functionality.
 */

.merge-tag-field .fi-fo-rich-editor-content,
.merge-tag-field-single .fi-fo-rich-editor-content {
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 1.5);
    line-height: calc(var(--spacing) * 6);
}

.merge-tag-field-single .fi-fo-rich-editor-content {
    min-height: auto;
}

/* Ensure the TipTap editor fills the entire content area for clickability */
.merge-tag-field .fi-fo-rich-editor-content .tiptap {
    min-height: 100%;
    height: 100%;
}

.merge-tag-field .fi-fo-rich-editor-content {
    display: flex;
    flex-direction: column;
}

.merge-tag-field .fi-fo-rich-editor-content .tiptap {
    flex: 1;
}
