.elementor-3816 .elementor-element.elementor-element-3cb784d{--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-3816 .elementor-element.elementor-element-4b6e25b{--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-3816 .elementor-element.elementor-element-de3e253{--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-8320c33 */:root {
    --primary-brand: #3b82f6;
    --border-color: #dee2e6;
    --background-light: #f8f9fa;
    --secondary-gray: #6c757d;
}

.hidden { display: none !important; }
.full-width { width: 100%; }
.divider { height: 1px; background: var(--border-color); margin: 1.5rem 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; color: white; background: var(--primary-brand); border: none; border-radius: 4px; font-weight: 500; cursor: pointer; text-decoration: none; transition: background 0.2s ease; }
.btn:hover { filter: brightness(1.1); }
.btn-secondary { background: var(--secondary-gray); }
.form-input { width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: 4px; }

/* Page Header */
.page-header { text-align: left; margin: 2rem auto 3rem auto; max-width: 800px; }
.page-header h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; color: #1a1a1a; margin-bottom: 1rem; }
.page-header p { font-size: 1.15rem; color: var(--secondary-gray); line-height: 1.6; margin: 0; }

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

/* Workspace Layout */
.workspace { display: flex; gap: 2rem; align-items: flex-start; height: 85vh; min-height: 600px; }
.controls-panel { flex: 0 0 320px; background: white; padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border-color); height: 100%; overflow-y: auto; display: flex; flex-direction: column; }
.preview-panel { flex: 1; background: var(--background-light); border-radius: 8px; border: 1px solid var(--border-color); height: 100%; overflow: auto; position: relative; padding: 2rem; }
.canvas-wrapper { display: flex; justify-content: center; min-width: 100%; min-height: 100%; }

/* Tabs */
.tab-header { display: flex; border-bottom: 1px solid var(--border-color); margin-bottom: 1rem; }
.tab-item { padding: 0.5rem 1rem; cursor: pointer; color: var(--secondary-gray); border-bottom: 2px solid transparent; flex: 1; text-align: center; }
.tab-item.active { color: var(--primary-brand); border-bottom-color: var(--primary-brand); font-weight: 600; }

/* Draw Pad */
.signature-pad-wrapper { border: 1px dashed var(--border-color); background: #fff; position: relative; margin-bottom: 1rem; }
canvas#signaturePad { width: 100%; height: 150px; cursor: crosshair; touch-action: none; display: block; }
.link-btn { position: absolute; bottom: 5px; right: 5px; background: none; border: none; color: #ef4444; cursor: pointer; font-size: 0.8rem; text-decoration: underline; }

/* Upload Box */
.upload-box { border: 2px dashed var(--border-color); padding: 2rem; text-align: center; cursor: pointer; border-radius: 4px; color: var(--secondary-gray); transition: all 0.2s; }
.upload-box:hover { border-color: var(--primary-brand); background: #f0f7ff; }

/* PDF Container - Critical for positioning */
.pdf-container { position: relative; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); line-height: 0; background: white; }
#signaturesLayer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }

/* Draggable Signature */
.draggable-sig { position: absolute; cursor: grab; border: 1px dashed transparent; user-select: none; touch-action: none; }
.draggable-sig:hover, .draggable-sig.active { border: 2px solid var(--primary-brand); background: rgba(59, 130, 246, 0.1); z-index: 100; }
.draggable-sig img { width: 100%; height: 100%; display: block; pointer-events: none; }
.sig-controls { display: none; }
.draggable-sig:hover .sig-controls, .draggable-sig.active .sig-controls { display: block; }
.remove-sig { position: absolute; top: -12px; right: -12px; background: #ef4444; color: white; border-radius: 50%; width: 24px; height: 24px; text-align: center; line-height: 24px; cursor: pointer; font-weight: bold; font-size: 14px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.resize-handle { position: absolute; bottom: -6px; right: -6px; width: 12px; height: 12px; background: var(--primary-brand); border: 2px solid white; border-radius: 50%; cursor: nwse-resize; }

/* Navigation */
.nav-controls { display: flex; justify-content: space-between; align-items: center; }

/* Loader */
#loader { 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 #f3f3f3; border-top: 4px solid var(--primary-brand); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile Adjustments */
@media (max-width: 800px) {
    .workspace { flex-direction: column; height: auto; }
    .controls-panel { width: 100%; height: auto; flex: none; order: -1; }
    .preview-panel { height: 600px; }
    .action-buttons { flex-direction: column; }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-7c62ccb *//* --- 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 */