/* Racing telemetry theme */
:root {
    --throttle: #00ff00;
    --brake: #ff0000;
    --steering: #ffff00;
    --text: #ffffff;
    --grid: rgba(255, 255, 255, 0.1);
    --background: rgba(0, 0, 0, 0.5);
}

.telemetry-overlay {
    position: relative;
    width: 400px;
    margin: 0 auto;
    background: none;
    border: none;
    padding: 10px;
    font-family: 'Monaco', 'Consolas', monospace;
    color: var(--text);
}

/* Steering indicator */
.telemetry-steering-container {
    position: relative;
    height: 20px;
    background: var(--background);
    border-radius: 2px;
    margin-bottom: 4px;
    width: 100%;
}

.telemetry-steering-center {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 1px;
    background: var(--text);
    opacity: 0.5;
}

.telemetry-steering-bar {
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: center;
    transform: translateX(-50%);
    width: 20%;
    height: 100%;
    background: var(--steering);
    border-radius: 2px;
    transition: transform 0.05s linear;
}

/* Main telemetry container */
.telemetry-main {
    display: flex;
    gap: 4px;
    height: 96px;
}

/* Graph */
.telemetry-graph {
    flex: 1;
    background: var(--background);
    border-radius: 2px;
    height: 100%;
}

/* Pedal bars */
.telemetry-pedal {
    position: relative;
    width: 25px;
    height: 100%;
    background: var(--background);
    border-radius: 2px;
}

.telemetry-pedal-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    transition: height 0.05s linear;
}

.telemetry-throttle .telemetry-pedal-fill {
    background: var(--throttle);
}

.telemetry-brake .telemetry-pedal-fill {
    background: var(--brake);
}