/* The message editor's placeholder buttons, and the tabs used by the email template pages. Loaded by the admin layouts. */

[hidden] { display: none !important; }

.rte {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.rte-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.rte-hint {
    font-size: 12px;
    color: #64748b;
    margin-right: 2px;
}

.rte-tag {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 4px 9px;
    cursor: pointer;
}

.rte-tag:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.fx-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.fx-tab {
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
}

.fx-tab:hover {
    background: #f1f5f9;
}

.fx-tab.is-active {
    color: #1d4ed8;
    background: #dbeafe;
    border-color: #bfdbfe;
}
