/* Editor.js Inline Toolbar Fix for Pico.css conflict */
.ce-inline-toolbar {
    z-index: 1001; /* Ensure it appears above other elements */
}

.ce-inline-toolbar__buttons,
.ce-inline-toolbar__actions {
    /* Reset flex properties that Pico might be interfering with */
    display: flex;
    padding: 0 10px;
}

.ce-inline-tool {
    /* Reset button styles */
    all: unset !important; /* Force reset */

    /* Re-apply necessary styles */
    display: inline-block;
    padding: 7px 10px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    margin: 0 2px;
    color: #333;
    box-shadow: none;
    font-weight: normal;
    text-align: center;
    min-width: 32px; /* Ensure a minimum width */
}

.ce-inline-tool:hover {
    background-color: #f0f0f0 !important;
    border-color: transparent !important;
}

.ce-inline-tool--active {
    background-color: #eef5ff !important;
    color: #388ae5 !important;
}

.ce-inline-tool svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
