/* Excel Graph Generator - Custom Styles */

/* Dropzone */
.dropzone {
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    padding: 3rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fafafa;
}

.dropzone:hover {
    border-color: #0d6efd;
    background-color: #f0f7ff;
}

.dropzone.drag-over {
    border-color: #198754;
    background-color: #d1e7dd;
    transform: scale(1.01);
}

/* Chart container */
.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}

/* Table improvements */
.table-responsive {
    max-height: 400px;
    overflow-y: auto;
}

.table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

/* Comparativo section */
#compVariacaoCard.bg-success {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%) !important;
}

#compVariacaoCard.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%) !important;
}

#compResultados .card {
    transition: transform 0.2s ease;
}

#compResultados .card:hover {
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dropzone {
        padding: 2rem 1rem;
    }

    .chart-container {
        height: 300px;
    }
}
