/* Location color fixes - ensuring proper color hierarchy */

/* Reset all service types to default yellow first */
.locations-list-alt .location-listing__name {
    font-family: 'Roboto Condensed';
    color: #000;
    padding: 20px 20px;
    background: #ffcc00;
}

/* Filter-specific styling */
.locations-list-alt .location-listing__name[data-active-filter="lifttruck"]:not(.force-default) {
    color: #fff !important;
    background-color: #002f81 !important;
}

.locations-list-alt .location-listing__name[data-active-filter="thompson-power-systems"]:not(.force-default) {
    color: #fff !important;
    background-color: #000000 !important;
}

.locations-list-alt .location-listing__name[data-active-filter="rental-stores"]:not(.force-default) {
    color: #fff !important;
    background-color: #b00d0e !important;
}

.locations-list-alt .location-listing__name[data-active-filter="thompson-truck-source"]:not(.force-default) {
    color: #fff !important;
    background-color: #3c3c3c !important;
}

/* Default styling for when no filter is active */
.locations-list-alt .location-listing__name.service-lifttruck:not([data-active-filter]):not(.force-default) {
    color: #fff;
    background-color: #002f81;
}

.locations-list-alt .location-listing__name.service-thompson-power-systems:not([data-active-filter]):not(.force-default) {
    color: #fff;
    background-color: #000000;
}

.locations-list-alt .location-listing__name.service-rental-stores:not([data-active-filter]):not(.force-default) {
    color: #fff;
    background-color: #b00d0e;
}

.locations-list-alt .location-listing__name.service-thompson-truck-source:not([data-active-filter]):not(.force-default) {
    color: #fff;
    background-color: #3c3c3c;
}

/* Force default class will always show yellow regardless of other classes */
.locations-list-alt .location-listing__name.force-default {
    color: #000 !important;
    background: #ffcc00 !important;
}

/* Style for active filter button */
.js-service-filter.active {
    box-shadow: 0 0 0 3px #ffcc00, 0 0 0 6px rgba(0,0,0,0.2);
    transform: scale(1.05);
    z-index: 10;
    position: relative;
} 

