.elementor-620 .elementor-element.elementor-element-f16a967{--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-633dd6a *//* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Container Principal */
.visualizer-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.visualizer-header {
    background: #fff;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.visualizer-header h2 {
    color: #2c3e50;
    font-weight: 600;
}

.header-controls {
    display: flex;
    gap: 1rem;
}

/* Main Layout */
.visualizer-main {
    flex: 1;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Painel de Upload */
.upload-panel {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: fit-content;
}

.upload-panel h3 {
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Grupos de Upload */
.upload-group {
    margin-bottom: 2rem;
}

.upload-label {
    display: block;
    margin-bottom: 1rem;
}

.upload-title {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.upload-subtitle {
    display: block;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Área de Upload */
.upload-area {
    position: relative;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.upload-area:hover {
    border-color: #007bff;
    background: #f0f8ff;
}

.upload-area.dragover {
    border-color: #007bff;
    background: #e3f2fd;
    transform: scale(1.02);
}

.upload-content i {
    font-size: 2.5rem;
    color: #6c757d;
    margin-bottom: 1rem;
    display: block;
}

.upload-content p {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.file-formats {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Preview das Imagens */
.upload-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.upload-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Seção de Processamento */
.process-section {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.process-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto 1rem;
}

.process-btn:hover:not(.disabled) {
    background: #218838;
    transform: translateY(-2px);
}

.process-btn.disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.process-note {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Área de Visualização */
.visualization-area {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Instruções Iniciais */
.instructions {
    text-align: center;
    padding: 3rem 2rem;
}

.instructions-content i {
    font-size: 4rem;
    color: #007bff;
    margin-bottom: 2rem;
}

.instructions h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.instructions ol {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.instructions ol li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.tips {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.tips h4 {
    margin-bottom: 1rem;
    color: #856404;
}

.tips ul li {
    margin-bottom: 0.5rem;
}

/* Container de Resultado */
.result-container {
    animation: fadeIn 0.5s ease;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.result-controls {
    display: flex;
    gap: 1rem;
}

/* Canvas */
.canvas-container {
    position: relative;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

#resultCanvas {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.loading-content {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loading-step {
    font-size: 0.9rem;
    color: #6c757d;
    display: block;
    margin-top: 0.5rem;
}

/* Informações do Resultado */
.result-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
}

.info-value {
    color: #2c3e50;
    font-weight: 500;
}

/* Botões */
.control-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

.control-btn.primary {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.control-btn.primary:hover {
    background: #0056b3;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Ajustes */
.adjustment-section {
    margin-bottom: 2rem;
}

.adjustment-section h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.adjustment-controls {
    display: grid;
    gap: 1rem;
}

.control-group {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 1rem;
    align-items: center;
}

.control-group label {
    font-weight: 500;
}

.control-group input[type="range"] {
    width: 100%;
}

.control-group span {
    font-weight: 600;
    color: #007bff;
    min-width: 50px;
    text-align: right;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .visualizer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .upload-panel {
        order: 1;
    }
    
    .visualization-area {
        order: 2;
    }
}

@media (max-width: 768px) {
    .visualizer-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .visualizer-main {
        padding: 1rem;
    }
    
    .upload-panel,
    .visualization-area {
        padding: 1.5rem;
    }
    
    .result-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .result-controls {
        justify-content: center;
    }
}/* End custom CSS */