body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

h2 {
    margin-top: 0;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.setting-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

input[type="text"], input[type="password"], input[type="number"], select {
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-left: 10px;
}

input[type="range"] {
    vertical-align: middle;
    width: 200px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #0056b3;
}

.status {
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
}

.status.connected {
    background-color: #d4edda;
    color: #155724;
}

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

.qrcode-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.logs {
    background: #212529;
    color: #00ff00;
    font-family: monospace;
    padding: 15px;
    height: 150px;
    overflow-y: auto;
    border-radius: 4px;
    font-size: 12px;
}

.visualizer {
    background: #ddd;
    height: 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.note {
    font-size: 12px;
    color: #6c757d;
    margin-left: 10px;
}
