.elementor-4133 .elementor-element.elementor-element-2c37281{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-838f29f */:root {
    --primary-brand: #3b82f6;
    --border-color: #dee2e6;
    --background-light: #f8f9fa;
    --secondary-gray: #6c757d;
    --danger: #ef4444;
}

.hidden { display: none !important; }
.full-width { width: 100%; }
.text-danger { color: var(--danger); }
.divider { height: 1px; background: var(--border-color); margin: 2rem 0; }

/* Workspace */
.workspace { background: white; padding: 2rem; border-radius: 8px; border: 1px solid var(--border-color); }

/* Toolbar */
.toolbar { 
    display: flex; 
    justify-content: center; 
    align-items: flex-start; 
    gap: 3rem; 
    margin-bottom: 2rem; 
    flex-wrap: wrap;
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.control-group { display: flex; flex-direction: column; min-width: 250px; gap: 10px; }
.control-group label { font-weight: 600; color: #374151; font-size: 0.9rem; }
input[type="range"] { cursor: pointer; width: 100%; accent-color: var(--primary-brand); }

/* Background Selector */
.bg-.elementor-4133 .elementor-element.elementor-element-838f29f { display: flex; gap: 15px; }
.radio-label { cursor: pointer; position: relative; }
.radio-label input { position: absolute; opacity: 0; }

.swatch {
    display: block; width: 40px; height: 40px;
    border-radius: 50%; border: 2px solid #ddd;
    transition: transform 0.2s, border-color 0.2s;
}
.radio-label input:checked + .swatch {
    border-color: var(--primary-brand);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.swatch.white { background: white; }
.swatch.black { background: black; }
.swatch.checkerboard {
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%);
    background-size: 10px 10px;
    background-color: white;
}

/* Preview Area */
.preview-container {
    width: 100%;
    min-height: 300px;
    /* Checkerboard background to show transparency */
    background-color: #eee;
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%);
    background-size: 20px 20px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--border-color);
}

canvas {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    /* Drop shadow to make white images visible on white bg */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Drop Zone */
.drop-zone { 
    border: 2px dashed var(--border-color); border-radius: 8px; padding: 4rem 2rem; 
    text-align: center; cursor: pointer; background: white; transition: background 0.2s;
}
.drop-zone:hover { background: #f0f7ff; border-color: var(--primary-brand); }

/* Footer */
.action-footer { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; }
.filename-input { flex: 1; min-width: 250px; }
.main-buttons { display: flex; gap: 1rem; }
.filename-input label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; }
.form-input { width: 100%; padding: 0.6rem; border: 1px solid var(--border-color); border-radius: 6px; }

/* Responsive */
@media (max-width: 768px) {
    .action-footer { flex-direction: column; align-items: stretch; }
    .main-buttons { flex-direction: column; }
}

/* Info Sections */
.info-section { background: white; padding: 2.5rem; border-radius: 8px; margin-top: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.info-section h3 { margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.75rem; font-size: 1.5rem; color: #111827; }
.info-section p { font-size: 1.1rem; line-height: 1.7; color: #374151; }
.how-to-list li { font-size: 1.1rem; line-height: 1.7; margin-bottom: 0.75rem; color: #374151; }
.faq-item strong { display: block; margin-bottom: 0.5rem; font-size: 1.2rem; color: #111827; }
.faq-item p { font-size: 1.1rem; color: #4b5563; }/* End custom CSS */