.elementor-3801 .elementor-element.elementor-element-443d66d{--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;}.elementor-3801 .elementor-element.elementor-element-6a0a7b1{--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-e10f18b *//* Reuse variables from previous tools */
:root {
    --primary-brand: #3b82f6;
    --border-color: #dee2e6;
    --background-light: #f8f9fa;
    --secondary-gray: #6c757d;
}

.hidden { display: none !important; }

/* Workspace Layout */
.workspace {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.controls-panel {
    flex: 1;
    min-width: 300px;
}

.preview-panel {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Tabs */
.tab-header {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.tab-item {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary-gray);
    transition: all 0.2s;
}

.tab-item.active {
    color: var(--primary-brand);
    border-bottom: 2px solid var(--primary-brand);
    margin-bottom: -2px;
}

/* Inputs */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
input[type="range"] { width: 100%; cursor: pointer; }

/* Position Grid */
.position-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 120px;
}

.pos-btn {
    width: 100%;
    height: 36px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.pos-btn:hover { border-color: var(--primary-brand); }
.pos-btn.active { background-color: var(--primary-brand); border-color: var(--primary-brand); }

/* Preview Area */
.preview-container {
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    background: #fff;
    max-width: 100%;
    overflow: hidden; /* Ensures watermark doesn't spill out */
}

.preview-container canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* The Watermark Overlay */
.watermark-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    pointer-events: none; /* Let clicks pass through */
    white-space: nowrap;
    z-index: 10;
    
    /* Default Text Styles */
    font-family: Helvetica, sans-serif;
    font-size: 50px;
    color: rgba(255, 0, 0, 0.5);
    font-weight: bold;
}

.watermark-overlay img {
    display: block;
    width: 200px; /* Base size */
}

/* Mobile */
@media (max-width: 768px) {
    .workspace { flex-direction: column; }
    .preview-panel { order: -1; } /* Show preview on top on mobile */
}

/* Loader Styles (Same as before) */
.loader-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 5000;
}
.spinner {
    width: 40px; height: 40px; border: 4px solid #eee;
    border-top: 4px solid var(--primary-brand); border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-5636029 *//* --- Styling for All Content & Info Sections --- */

/* General container for the "How-To," "About," and "FAQ" sections */
.info-section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 2rem 1rem;
    border-top: 1px solid #e9ecef;
}

/* Styles the main headings (h2) of these sections */
.info-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #212529;
    margin-bottom: 3rem;
}

/* --- How-To Guide --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}
.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #e33d3d; /* Red theme color */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}
.feature-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #343a40;
}
.feature-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}

/* --- Professional About Section --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #343a40;
    margin-bottom: 1.5rem;
}
.about-content p:last-child {
    margin-bottom: 0;
}

/* --- Polished FAQ Section --- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.faq-item {
    background-color: #ffffff;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
.faq-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.75rem;
}
.faq-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.7;
}
.faq-item p a {
    color: #0056b3;
    text-decoration: underline;
    font-weight: 500;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .info-section h2 {
        font-size: 1.8rem;
    }
    .about-content p {
        font-size: 1.05rem; 
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}/* End custom CSS */