/* css/control_menu.css */
.controls-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    min-width: 200px;
}

.controls-menu h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.7);
}

.controls-menu button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    background: var(--button-bg);
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    letter-spacing: 1px;
}

.controls-menu button:hover {
    background: var(--button-hover);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* AuFlyersCore连接设置样式 */
.connection-settings {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.form-group-inline {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.form-group-inline label {
    width: 80px;
    color: #fff;
    font-size: 12px;
    margin-right: 10px;
}

.form-group-inline input {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
}

.connect-button {
    width: 100%;
    padding: 6px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

.connect-button:hover {
    background-color: #45a049;
}

.connect-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* AuFlyersCore连接状态指示器 */
.connection-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: 5px;
}

.connection-status.connected {
    background-color: #4CAF50;
}

.connection-status.disconnected {
    background-color: #f44336;
}