/* Container and layout */
#visix-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 100%;
    margin: 0 auto;
}

/* Control panel styling */
#visix-controls {
    width: 100%;
    max-width: 900px;
    background: #f7f7f7;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#visix-controls fieldset {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}
#visix-controls legend {
    font-weight: bold;
}
#visix-controls label {
    margin-right: 8px;
}
#visix-controls input[type="range"],
#visix-controls select,
#visix-controls input[type="number"] {
    margin-right: 20px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Layout for video and canvases */
.visix-canvas-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.visix-frame {
    text-align: center;
}
#visix-container video,
#visix-container canvas {
    border: 1px solid #ccc;
    max-width: 100%;
    height: auto;
}
