﻿/* Überschreibende CSS-Regeln, basierend auf MudBlazor-Theming Variablen */
.ql-container .qlbt-selection-line.qlbt-selection-line-left::before {
    position: absolute;
    left: -2px;
    top: -2px;
    content: '';
    width: 5px;
    height: 5px;
    background-color: var(--quill-primary-color, #0589f3);
    border-radius: var(--mud-border-radius, 4px);
}

.ql-container .qlbt-selection-line.qlbt-selection-line-right::before {
    position: absolute;
    right: -2px;
    bottom: -3px;
    content: '';
    width: 5px;
    height: 5px;
    background-color: var(--quill-primary-color, #0589f3);
    border-radius: var(--mud-border-radius, 4px);
}

.quill-better-table-wrapper {
    overflow-x: auto;
}

table.quill-better-table {
    table-layout: fixed;
    border-collapse: collapse;
}

    table.quill-better-table td {
        border: 1px solid var(--quill-border-color, #000);
        padding: 2px 5px;
    }

.qlbt-operation-menu {
    background-color: var(--quill-bg-color, #fff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); 
    font-size: 14px;
    z-index: 100;
    overflow: hidden;
}

    .qlbt-operation-menu .qlbt-operation-menu-dividing {
        height: 1px;
        background-color: var(--quill-border-color, #efefef);
    }

    .qlbt-operation-menu .qlbt-operation-menu-subtitle {
        color: var(--mud-palette-text-secondary, #999);
        font-size: 14px;
        padding: 5px 16px;
    }

    .qlbt-operation-menu .qlbt-operation-color-picker {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding: 0 16px 10px;
        background-color: var(--quill-bg-color, #fff);
        overflow: hidden;
    }

        .qlbt-operation-menu .qlbt-operation-color-picker .qlbt-operation-color-picker-item {
            width: 20px;
            height: 20px;
            border: 1px solid var(--quill-text-color, #595959);
            margin-right: 5px;
            margin-bottom: 5px;
            cursor: pointer;
        }

    .qlbt-operation-menu .qlbt-operation-menu-item {
        display: flex;
        align-items: center;
        padding: 10px 16px;
        background-color: var(--quill-bg-color, #fff);
        cursor: pointer;
        color: var(--quill-text-color, #595959);
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .qlbt-operation-menu .qlbt-operation-menu-item:hover {
            color: var(--quill-primary-color, #000);
        }

        .qlbt-operation-menu .qlbt-operation-menu-item .qlbt-operation-menu-icon {
            margin-right: 8px;
            height: 20px;
            width: 20px;
            font-size: 0;
        }

.qlbt-col-tool {
    position: absolute;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    z-index: 99;
    height: 16px;
}

    .qlbt-col-tool .qlbt-col-tool-cell {
        position: relative;
        background-color: var(--quill-bg-color, #fff);
        border-top: 1px solid var(--quill-border-color, #000);
        border-right: 1px solid var(--quill-border-color, #000);
        border-bottom: 1px solid var(--quill-border-color, #000);
    }

        .qlbt-col-tool .qlbt-col-tool-cell:first-child {
            border-left: 1px solid var(--quill-border-color, #000);
        }

    .qlbt-col-tool .qlbt-col-tool-cell-holder {
        position: absolute;
        right: -1px;
        top: 0;
        bottom: 0;
        z-index: 3;
        width: 1px;
        background-color: transparent;
        cursor: ew-resize;
    }

        .qlbt-col-tool .qlbt-col-tool-cell-holder:hover {
            background-color: var(--quill-primary-color, #0589f3);
        }

        .qlbt-col-tool .qlbt-col-tool-cell-holder::before {
            content: "";
            position: absolute;
            top: 0;
            left: -6px;
            display: block;
            width: 8px;
            height: 100%;
        }

        .qlbt-col-tool .qlbt-col-tool-cell-holder::after {
            content: "";
            position: absolute;
            top: 0;
            right: -6px;
            display: block;
            width: 8px;
            height: 100%;
        }
