/* Sekcja stylów dla zmigrowanego modułu ToolbarMenu */
.toolbar-adapter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.miro-toolbar {
    display: flex;
    background: #fff;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    gap: 4px;
}

.toolbar-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: background 0.2s;
}

.toolbar-btn:hover {
    background: #f1f5f9;
}

.toolbar-btn.active {
    background: #e2e8f0;
    color: #000;
}

.toolbar-separator {
    width: 1px;
    background: #e2e8f0;
    margin: 4px;
}

.miro-popover-layer {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    width: 100%;
    pointer-events: none;
    z-index: 2001;
}

.toolbar-popover {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px;
    pointer-events: auto;
}

.popover-list-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: background 0.2s;
}

.popover-list-btn:hover {
    background: #f1f5f9;
}

/* Komponent Kolorów - ArchDSL */
.popover-color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px;
}

.popover-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.1s, border-color 0.1s;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.popover-color-swatch:hover {
    transform: scale(1.15);
}

.popover-color-swatch.active {
    border-color: #2563eb;
    transform: scale(1.1);
}

.color-circle-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}