/* Layout specific to the tool */
.generator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .generator-grid {
        grid-template-columns: 1fr;
    }
}

/* Inputs - Let global style.css handle most of it */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Specific overrides for color pickers if needed, otherwise rely on global */
.color-picker-wrapper {
    display: flex;
    align-items: center;
    background: #edf2f7;
    /* Match global input bg */
    padding: 8px;
    border-radius: 8px;
    border: 1px solid transparent;
}

/* Slider */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #FF6B6B;
    /* Sunset Orange */
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Preview Area */
.preview-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    /* Light gray background */
    border-radius: 12px;
    padding: 30px;
    border: 2px dashed #e2e8f0;
    /* Visible border */
}

.qr-canvas {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    width: 100%;
    /* Ensure it takes width to center content */
    max-width: 340px;
    /* Constrain container slightly larger than 300px default */
}

.qr-canvas img,
.qr-canvas svg {
    display: block;
    max-width: 100%;
    height: auto;
}