/* Kaleidoscope-specific styles */

.value-display {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

.angle-display {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

#kaleidoscopeSvg {
    background: white;
    border-radius: 8px;
    cursor: crosshair;
    touch-action: none;
}

/* Section overlay styles */
.overlay-lines {
    pointer-events: none;
}

.overlay-lines line {
    stroke: #007bff;
    stroke-width: 1;
    stroke-dasharray: 5, 5;
    opacity: 0.6;
}

.overlay-lines circle {
    fill: none;
    stroke: #007bff;
    stroke-width: 1;
    stroke-dasharray: 3, 3;
    opacity: 0.4;
}

/* Layer management styles */
.layer-panel {
    margin-top: 10px;
}

.layer-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #f8f9fa;
}

.layer-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    transition: background 0.2s;
}

.layer-item:last-child {
    border-bottom: none;
}

.layer-item:hover {
    background: #e9ecef;
}

.layer-item.active {
    background: #007bff;
    color: white;
}

.layer-item.active:hover {
    background: #0056b3;
}

.layer-color-indicator {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-right: 10px;
    border: 2px solid #dee2e6;
    cursor: pointer;
}

.layer-item.active .layer-color-indicator {
    border-color: white;
}

.layer-name {
    flex: 1;
    font-size: 14px;
    color: inherit;
}

.layer-controls {
    display: flex;
    gap: 4px;
}

.layer-controls button {
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    min-width: auto;
    border-radius: 4px;
}

.visibility-btn {
    background: #6c757d;
    color: white;
}

.visibility-btn:hover {
    background: #5a6268;
}

.visibility-btn.visible {
    background: #28a745;
}

.visibility-btn.visible:hover {
    background: #218838;
}

.layer-editor-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.layer-editor-header .layer-color-indicator {
    margin-right: 10px;
}

.layer-editor-header span {
    font-weight: 600;
    color: #333;
}

/* Kaleidoscope drawing styles */
.kaleidoscope-drawing {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.original-drawing {
    /* Original drawing paths */
}

.kaleidoscope-segments {
    /* Mirrored segments */
}