.lut-insert-indicator {
    outline: 2px dashed rgba(128, 128, 128, 0.6);
    padding: 6px 8px;
    border-radius: 6px;
}

.lut-controls-container {
    padding: 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.lut-selection-bar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 5px 15px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: hidden;
    white-space: nowrap;
}

.lut-selection-bar::-webkit-scrollbar {
    display: none;
}

.lut-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
    width: 72px;
    box-sizing: border-box;
    height: 97px;
}

.lut-chip-preview {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background-color: var(--slider-track);
    pointer-events: none;
    object-fit: cover;
}

.lut-chip-name {
    font-size: 11px;
    color: var(--text-color);
    width: 100%;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    word-break: break-word;
    line-height: 1.25;
    max-height: 2.6em;
}

.lut-chip.active {
    border-color: var(--accent-color);
    background-color: var(--nav-active-bg);
}

.lut-chip.active .lut-chip-name {
    color: var(--accent-color);
    font-weight: normal;
}

.selected-lut-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    transition: opacity 0.3s ease;
}

.selected-lut-item.dragging {
    opacity: 0.4;
}

.lut-drag-handle {
    width: 40px;
    height: 40px;
    background: #ccc;
    border-radius: 4px;
    margin-right: 15px;
    margin-bottom: 8px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.lut-drag-handle canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lut-drag-handle:active {
    cursor: grabbing;
}

.selected-lut-item .slider-container {
    flex-grow: 1;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.selected-lut-item .param-label {
    font-size: 13px;
    margin-bottom: 4px;
}

.selected-lut-item .param-value {
    width: 44px;
    padding: 3px 4px;
    font-size: 11px;
    text-align: center;
    background: var(--btn-bg);
    border: 1px solid var(--slider-track);
    color: var(--text-color);
    border-radius: 5px;
}

.lut-drag-placeholder {
    height: 70px;
    background: rgba(var(--accent-color-rgb), 0.1);
    border: 2px dashed var(--accent-color);
    border-radius: 8px;
    margin-bottom: 0;
}

.lut-controls-container.param-controls {
    display: flex;
    flex-direction: column;
    max-height: none;
    overflow: visible;
}

.selected-luts-sliders {
    padding: 15px;
    max-height: 243px;
    overflow-y: auto;
}

input.param-value.param-value-top {
    width: 40px;
    padding: 3px 4px;
    font-size: 11px;
    line-height: 1;
}
