.sort-bar-container {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-bottom: 1rem; 
}

.results-info {
    font-size: 1.1rem;
    font-weight: 500;
    color: #212121;
    margin-bottom: 0.75rem;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sort-by-label {
    font-size: 1rem;
    color: #878787; 
    font-weight: 500;
}

.sort-option-btn {
    font-size: 1.1rem;
    font-weight: 500;
    color: #212121;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: color 0.2s ease-in-out;
}

.sort-option-btn:hover {
    color: #2874f0; 
}

.sort-option-btn.active {
    color: #2874f0;
    font-weight: 600;
}

.sort-option-btn.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #2874f0;
}

@media (max-width: 768px) {
    .sort-options {
        gap: 1rem;
        flex-wrap: wrap;
    }
    .sort-bar-container {
        padding: 0.5rem;
    }
    .results-info, .sort-by-label, .sort-option-btn {
        font-size: 0.75rem;
    }
}