* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #2a2a2a;
    padding: 10px;
    color: #e0e0e0;
    font-size: 11px;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 15px;
    border: 1px solid #444;
}

h1 {
    text-align: left;
    color: #888;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-wrapper {
    margin-bottom: 15px;
    border: 1px solid #444;
    background: #000;
}

#videoPlayer {
    width: 100%;
    display: block;
    max-height: 720px;
}

.controls-panel {
    display: grid;
    grid-template-columns: 200px 1fr 400px;
    gap: 15px;
    height: 500px;
}

.sections-panel,
.timestamps-panel,
.eq-section {
    background: #252525;
    padding: 10px;
    border: 1px solid #444;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

h3 {
    color: #888;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

.sections-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow-y: auto;
    flex: 1;
}

.section-item {
    background: #1e1e1e;
    padding: 6px 8px;
    cursor: pointer;
    border: 1px solid #333;
    font-size: 10px;
    color: #aaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-item:hover {
    background: #333;
    border-color: #555;
}

.section-item.active {
    background: #3a3a3a;
    border-color: #666;
    color: #fff;
    font-weight: bold;
}

.timestamps-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    flex: 1;
}

.timestamp-item {
    background: #1e1e1e;
    padding: 4px 6px;
    cursor: pointer;
    border: 1px solid #333;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 6px;
    font-size: 10px;
    min-height: 20px;
    align-items: start;
}

.timestamp-item:hover {
    background: #333;
    border-color: #555;
}

.timestamp-item.active {
    background: #3a3a3a;
    border-color: #666;
    font-weight: bold;
}

.timestamp-time {
    font-weight: bold;
    color: #888;
    font-size: 9px;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
}

.timestamp-item.active .timestamp-time {
    color: #fff;
}

.timestamp-label {
    color: #ccc;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
    font-size: 10px;
}

.timestamp-item.active .timestamp-label {
    color: #fff;
}

.eq-controls {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
    margin-bottom: 8px;
    padding: 6px;
    background: #1e1e1e;
    border: 1px solid #333;
}

.eq-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.eq-band-label {
    font-size: 8px;
    color: #888;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 30px;
    line-height: 1;
}

.eq-slider {
    width: 20px;
    height: 120px;
    -webkit-appearance: none;
    appearance: none;
    background: #0a0a0a;
    border: 1px solid #444;
    outline: none;
    writing-mode: bt-lr;
    -webkit-appearance: slider-vertical;
}

.eq-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 8px;
    background: #4a9eff;
    border: 1px solid #666;
    cursor: pointer;
}

.eq-slider::-moz-range-thumb {
    width: 18px;
    height: 8px;
    background: #4a9eff;
    border: 1px solid #666;
    cursor: pointer;
}

.eq-slider-value {
    font-size: 8px;
    color: #888;
    font-family: 'Courier New', monospace;
    min-height: 12px;
    text-align: center;
}

#eqCanvas {
    width: 100%;
    height: 200px;
    background: #0a0a0a;
    display: block;
    border: 1px solid #333;
    flex-shrink: 0;
}

/* Scrollbar styling */
.sections-list::-webkit-scrollbar,
.timestamps-list::-webkit-scrollbar {
    width: 6px;
}

.sections-list::-webkit-scrollbar-track,
.timestamps-list::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.sections-list::-webkit-scrollbar-thumb,
.timestamps-list::-webkit-scrollbar-thumb {
    background: #444;
}

.sections-list::-webkit-scrollbar-thumb:hover,
.timestamps-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}
