/* Visualizer CSS.
 *
 * Orphaned: none of #multiViewToggle / .visualizer-panel / .panel-border
 * appear in js/wavetablesynth/html-template.js, so this stylesheet targets
 * elements the live app never creates. Converted for consistency anyway. */

/* Multi-view toggle button */
.multi-view-toggle {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(35, 35, 35, 0.7);
    color: #c8c8c8;
    padding: 10px 5px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    font-family: monospace;
    font-size: 12px;
    user-select: none;
}

/* Fixed positioning for the multi-view toggle button to ensure it doesn't overlap */
#visualizer-container .multi-view-toggle {
    left: 0;
    right: auto;
    margin-left: 0;
    transform: translateY(-50%);
}

/* Specific styling for multiViewToggle to override any conflicting styles */
#multiViewToggle {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-left: 0 !important;
    z-index: 999 !important; /* Ensure it's above other elements */
}

.multi-view-toggle:hover {
    background-color: rgba(45, 45, 45, 0.9);
}

.multi-view-toggle span {
    display: block;
    width: 100%;
    text-align: center;
}

/* Panel styling */
.visualizer-panel {
    position: absolute;
    background-color: #111;
    overflow: hidden;
    transition: all 0.3s ease;
}

.visualizer-panel-title {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: monospace;
    font-size: 12px;
    color: #c8c8c8;
    z-index: 5;
}

/* Panel borders and dividers */
.panel-border {
    position: absolute;
    background-color: rgba(120, 120, 120, 0.3);
}

.panel-border.vertical {
    width: 1px;
    height: 100%;
}

.panel-border.horizontal {
    width: 100%;
    height: 1px;
}

/* Ensure the visualizer container has position relative for correct panel positioning */
#visualizer-container {
    position: relative;
    overflow: hidden;
} 