* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #222;
    padding: 0px;
}

.container {
    padding: 5px 5px 0px 5px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

}

.header {
    display: flex;
    align-items: center;    
    justify-content: center;
    height: 98vh;           
}

.hidden {
    display: none;
}

.header h1 {
    font-size: 24px;
}

.connect-btn {
    background: #006cb4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 24px;
    width: 100%;
}

.connect-btn:hover {
    background: #005c99;
}

.connect-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.status {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
}

.status.connected {
    background: #155724;
    color: #ccc;
}

.status.disconnected {
    background: #721c24;
    color: #ccc;
}

.tabs {
    display: flex;
    gap: 5px;
}

.tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    background: #444;
    border: none;
    font-size: 16px;
    color: #ccc;
    transition: background 0.3s;
}

.tab:hover {
    background: #333;
}

.tab.active {
    background: #111;
    border-bottom: 2px solid #006cb4;
}

.tab-content {
    display: none;
    padding-top: 20px;
}

.tab-content.active {
    display: block;
}

label {
    color: #ccc;
}

.control-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #111;
    color: #ccc;
    border-radius: 5px;
}

.control-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ccc;
}

.slider-container {
    margin-bottom: 15px;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
    color: #ccc;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #444;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #006cb4;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #006cb4;
    cursor: pointer;
    border: none;
}

input[type="range"]:disabled {
    opacity: 0.5;
}

select {
    width: 100%;
    padding: 8px;
    border: 1px solid #444;
    color: #ccc;
    background-color: #111;
    border-radius: 4px;
    font-size: 14px;
}

select:disabled {
    background: #444;
    color: #ccc;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-container label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

.mr-5 {
    margin-right: 5px;
}

button {
    background: #006cb4;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background: #005c99;
}

button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.preset-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.preset-controls select {
    flex: 1;
    min-width: 150px;
}

.inline-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.inline-controls select {
    flex: 1;
}

.console {
    flex: 1;
    background: #1e1e1e;
    color: #006cb4;
    padding: 10px;
    border-radius: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    margin-top: 15px;
}

.console-line {
    margin: 2px 0;
}

.peq-section {
    border: 1px solid #333;
    background: #111;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.peq-section h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}