/* PID Controller Tutorial - Styling */

.pid-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #000000;
    padding: 20px;
    font-family: 'Courier New', monospace;
}

.simulation-area {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
}

.left-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.system-view {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graph-container {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px;
    position: relative;
}

#pidGraphCanvas {
    width: 100%;
    height: 400px;
    display: block;
}

.control-panel {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
}

.control-group label {
    color: #ffffff;
    font-size: 12px;
    white-space: nowrap;
    min-width: 80px;
}

.control-group input[type="range"] {
    flex: 1;
    min-width: 0;
}

.control-group input[type="number"] {
    width: 80px;
    background-color: #1a1a1a;
    color: #00ffff;
    border: 1px solid #333;
    padding: 5px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.control-group .value-display {
    color: #00ffff;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    min-width: 60px;
    text-align: right;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.button-group button {
    background-color: #333;
    color: #ffffff;
    border: 1px solid #555;
    padding: 8px 16px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
}

.button-group button:hover {
    background-color: #444;
}

.button-group button:active {
    background-color: #222;
}

#setpointInput {
    width: 80px;
    background-color: #1a1a1a;
    color: #00ff00;
    border: 1px solid #333;
    padding: 5px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.system-select {
    width: 200px;
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #333;
    padding: 5px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.info-display {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    font-size: 11px;
    color: #cccccc;
}

.info-display div {
    margin-bottom: 5px;
}
