/* 色調整パネル用のスタイル */
.color-adjust-panel {
    position: absolute;
    background-color: rgba(248, 249, 250, 0.95);
    border: 2px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    padding: 8px;
    min-width: 220px;
    pointer-events: auto;
}

.color-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #dee2e6;
}

.color-panel-title {
    font-weight: bold;
    font-size: 13px;
}

.color-panel-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    line-height: 1;
}

.color-panel-close:hover {
    color: #000;
    background-color: #e9ecef;
    border-radius: 3px;
}

.color-panel-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.color-control-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.color-label {
    font-size: 12px;
    font-weight: bold;
    width: 16px;
    flex-shrink: 0;
    text-align: center;
}

.color-slider {
    flex: 1;
    height: 4px;
}

.color-input {
    width: 50px;
    font-size: 11px;
    padding: 2px 4px;
    border: 1px solid #ced4da;
    border-radius: 3px;
    text-align: center;
}

.color-reset-btn {
    margin-top: 4px;
    padding: 4px 8px;
    font-size: 11px;
    background-color: #ffc107;
    border: 1px solid #ffb300;
    border-radius: 3px;
    cursor: pointer;
}

.color-reset-btn:hover {
    background-color: #ffb300;
}

.color-panel-divider {
    height: 1px;
    background-color: #dee2e6;
    margin: 4px 0;
}

.clip-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 8px 0;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

#clipPreviewCanvas {
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    background-color: white;
}

.clip-control-hint {
    font-size: 10px;
    color: #666;
    margin-top: 4px;
    text-align: center;
}
