.qcg-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin: 40px 0;
}

/* =========================================
LEFT CONTROLS
========================================= */

.qcg-controls {
    width: 320px;
    flex-shrink: 0;
}

.qcg-controls textarea,
.qcg-controls input,
.qcg-controls select {
    width: 100%;
    margin-bottom: 20px;
    padding: 12px;
    font-size: 16px;
    box-sizing: border-box;
}

.qcg-controls textarea {
    min-height: 140px;
    resize: vertical;
}

.qcg-controls button {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    background: #c9a227;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
}

.qcg-controls button:hover {
    opacity: 0.92;
}

/* =========================================
RIGHT CANVAS COLUMN
========================================= */

.qcg-canvas-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 700px;
}

/* =========================================
POSITION DISPLAY
========================================= */

#positionDisplay {
    padding: 10px 14px;
    background: #1B2A4A;
    color: #FAF9F6;
    font-weight: bold;
    border: 1px solid #D4AF37;
    font-family: Arial, sans-serif;
    border-radius: 4px;
}

/* =========================================
SPACING DISPLAY
========================================= */

#spacingDisplay {
    padding: 14px;
    background: #111827;
    color: #FAF9F6;
    border: 1px solid #D4AF37;
    line-height: 1.8;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-radius: 4px;
}

/* =========================================
CANVAS
========================================= */

canvas {
    border: 1px solid #ccc;
    max-width: 100%;
    height: auto;
    display: block;
}