/* Header Search Container - New wrapper for counter and progress bar */
.header-search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

/* Header Search Count */
.header-search-count {
    display: flex;
    align-items: center;
    height: 100%;
}

.count-display {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: 18px;
    font-weight: 600;
}

.count-number {
    color: #000000;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.count-separator {
    color: #000000;
    font-size: 18px;
    font-weight: 300;
    margin: 0 2px;
}

.total-number {
    color: #000000;
    font-size: 18px;
    font-weight: 500;
}

/* Filter Progress Bar - Now inline with counter */
.filter-progress-container {
    width: 120px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.filter-progress-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    
    /* Gradient from magenta to red */
    background: linear-gradient(
        to right,
        rgb(255, 0, 221),
        rgb(255, 0, 0)
    );
    
    /* Fallback for older browsers */
    background: -webkit-linear-gradient(left, rgb(255, 0, 221), rgb(255, 0, 0));
    background: -moz-linear-gradient(left, rgb(255, 0, 221), rgb(255, 0, 0));
    background: -o-linear-gradient(left, rgb(255, 0, 221), rgb(255, 0, 0));
}

/* Animation for number changes */
.count-number.updating {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .header-search-container {
        gap: 8px;
    }
    
    .count-display {
        font-size: 16px;
    }
    
    .count-number {
        font-size: 20px;
    }
    
    .total-number {
        font-size: 16px;
    }
    
    .filter-progress-container {
        width: 90px;
        height: 3px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .filter-progress-container {
        width: 70px;
    }
}