/* styles.css */
body {
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 38px;
    text-shadow: 0 0 5px #ff0000;
    margin-bottom: 20px;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 10px;
    width: 100%;
}

.config-selector {
    margin-bottom: 20px;
    width: 100%;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 20px;
}

.config-selector label {
    font-size: 24px;
    margin-right: 10px;
    color: #ffff00;
}

.config-selector select {
    font-size: 20px;
    padding: 5px;
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #ff0000;
    border-radius: 0; /* Square corners */
}

.config-stats {
    width: 1200px; /* Same width as the oscilloscope */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #ff0000;
    border-radius: 0; /* Square corners */
    box-shadow: 0 0 5px #ff0000;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 20px;
}

.config-stats table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.config-stats th, .config-stats td {
    padding: 10px;
    border: 1px solid #ff0000;
    text-align: left;
    color: #ffffff;
}

.config-stats th {
    background-color: #1a1a1a;
}

.config-stats img {
    max-width: 150px;
    margin: 10px;
    border-radius: 0; /* Square corners */
    box-shadow: 0 0 5px #ff0000;
    background-color: white; /* White background for the image */
}

.controls-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 20px;
    width: 100%;
}

.speedometer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 0px;
    border: 0px solid #ffffff;
}

.speedometer-digital {
    margin-top: 10px;
    font-size: 20px; /* Smaller font size */
    text-shadow: 0 0 5px #ff0000;
    color: #ffff00;
}

.buttons-column {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    border: 1px solid #ff0000;
    border-radius: 0; /* Square corners */
    overflow: hidden;
}

.buttons-column button {
    margin: 0;
    padding: 15px 20px; /* Wider buttons */
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    border-bottom: 1px solid #ff0000; /* Separator between buttons */
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 18px;
    border-radius: 0; /* Square corners */
}

.buttons-column button:last-child {
    border-bottom: none; /* Remove separator for the last button */
}

.buttons-column button:hover {
    background-color: #ff0000;
    color: #1a1a1a;
}

.buttons-column button.active-power,
.buttons-column button.active-power-prev {
    background-color: #00ffff;
    color: #000000;
}

.buttons-column button.active-neutral {
    background-color: #28A745;
    color: #ffffff;
}

.buttons-column button.active-braking,
.buttons-column button.active-braking-prev {
    background-color: #FFC107;
    color: #1a1a1a;
}

canvas {
    border: 1px solid #ff0000;
    border-radius: 0; /* Square corners */
    box-shadow: 0 0 5px #ff0000;
}


.volume-slider {
    margin-top: 20px;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 20px;
    width: 100%;
}

.volume-slider label {
    font-size: 24px;
    margin-right: 10px;
    color: #ffff00;
}

.volume-slider input[type="range"] {
    width: 200px;
    background-color: #1a1a1a;
    border: 1px solid #ff0000;
    border-radius: 0; /* Square corners */
    outline: none;
    appearance: none;
    height: 10px;
}

.volume-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #ff0000;
    border-radius: 0; /* Square corners */
    cursor: pointer;
}

.volume-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background-color: #ff0000;
    border-radius: 0; /* Square corners */
    cursor: pointer;
}