/**
 * Neon Designer Styles
 */

/* Wrapper */
.neon-designer-wrapper {
    margin-bottom: 20px;
}

/* Preview Box */
.preview-box {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

/* Controls */
.neon-control-group {
    margin-bottom: 15px;
}

.neon-control-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.neon-control-group input[type="text"],
.neon-control-group select {
    width: 100%;
    padding: 8px;
}

.neon-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.neon-font-option {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    cursor: pointer;
    border-radius: 4px;
}

.neon-font-option.selected {
    border-color: #007cba;
    background: #e6f6ff;
    box-shadow: 0 0 0 1px #007cba;
}

.neon-color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    cursor: pointer;
}

.neon-color-option.selected {
    box-shadow: 0 0 0 2px #007cba;
}

.neon-bg-option {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 4px;
}

.neon-bg-option.selected {
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.neon-price-display h3 {
    margin-top: 0;
}

/* Responsive adjustments for moved preview */
.woocommerce-product-gallery .neon-designer-preview {
    width: 100% !important;
}

.woocommerce-product-gallery #neon-canvas-bucket {
    width: 100% !important;
    height: 400px;
    /* Default height */
}

/* Ensure it stacks correctly on mobile */
@media (max-width: 768px) {
    .woocommerce-product-gallery #neon-canvas-bucket {
        height: 300px;
    }
}