/* Estilos anteriores mantidos */
.search-container .form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 10px;
}

.suggestions {
    z-index: 1000;
    width: 100%;
}

.suggestions div {
    padding: 10px;
    cursor: pointer;
}

.suggestions div:hover {
    background: #f0f6fa;
}

#transfersCarousel .carousel-inner {
    display: flex;
    scroll-behavior: smooth;
    overflow-x: auto;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#transfersCarousel .carousel-inner::-webkit-scrollbar {
    display: none;
}

#transfersCarousel .carousel-item {
    display: inline-block;
    transition: transform 0.4s ease;
}

#transfersCarousel .carousel-item.active {
    transform: scale(1.02);
}

#transfersCarousel .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 94, 164, 0.2);
}

/* Adição para feedback de carregamento */
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}



/* Filtros de Seção - Não interfere nos filtros de categoria */
.section-filter-container {
    animation: slideInDown 0.4s ease-out;
    border-left: 4px solid #005ea4;
}

.price-filter-content {
    position: relative;
}

.price-inputs input:focus {
    border-color: #0095ae;
    box-shadow: 0 0 0 0.2rem rgba(0, 149, 174, 0.25);
}

.price-stats {
    background: #f8f9fa;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

/* Animação para cards filtrados */
.filtered-card {
    animation: fadeInScale 0.5s ease-out;
}

.hidden-card {
    display: none !important;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading state para filtros */
.filtering-loading {
    position: relative;
    pointer-events: none;
}

.filtering-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #005ea4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-attention {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-attention.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 94, 164, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 94, 164, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 94, 164, 0);
    }
}