/* Editor-specific styles for DGS Info Block */

/* Ensure FontAwesome icons display in editor */
.editor-styles-wrapper .info-box-icon i,
.block-editor-writing-flow .info-box-icon i,
.edit-post-visual-editor .info-box-icon i,
.block-editor .info-box-icon i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

/* Button styles in editor */
.editor-styles-wrapper .info-box-button,
.block-editor-writing-flow .info-box-button,
.edit-post-visual-editor .info-box-button,
.block-editor .info-box-button {
    background: var(--icon-bg-color, var(--action)) !important;
    border-color: var(--icon-bg-color, var(--action)) !important;
    color: var(--white) !important;
}

.editor-styles-wrapper .info-box-button:hover,
.block-editor-writing-flow .info-box-button:hover,
.edit-post-visual-editor .info-box-button:hover,
.block-editor .info-box-button:hover {
    background: transparent !important;
    color: var(--icon-bg-color, var(--action)) !important;
}

/* Alignment support in editor */
.editor-styles-wrapper .info-block.alignwide .info-block-container,
.block-editor-writing-flow .info-block.alignwide .info-block-container {
    max-width: none;
}

.editor-styles-wrapper .info-block.alignfull .info-block-container,
.block-editor-writing-flow .info-block.alignfull .info-block-container {
    max-width: none;
}