body {
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
    min-height: 100vh;  /* 添加这行确保背景填充整个视口 */
    margin: 0;  /* 添加这行移除默认边距 */
    gap: 20px;
}

button {
    background-color: #2196f3;  /* 改为蓝色背景 */
    color: white;  /* 白色文字 */
    border: none;  /* 移除边框 */
    padding: 12px 24px;  /* 增加内边距 */
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;  /* 增加圆角 */
    width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);  /* 添加阴影 */
}

button:hover {
    background-color: #1976d2;  /* 深蓝色 */
    transform: translateY(-2px);  /* 悬浮效果 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#disconnectBtn {
    color: white;
    background-color: #f44336;  /* 红色 */
}

#disconnectBtn:hover {
    background-color: #d32f2f;  /* 深红色 */
}

#sendStopBtn {
    color: white;
    background-color: #ff9800;  /* 橙色 */
}