/* Active Filters Styles */
.active-filters {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.active-filters__container {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
}

.active-filters__label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.active-filters__item {
    display: inline-flex;
    align-items: center;
    background: #008FA1;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    gap: 8px;
}

.active-filters__item-label {
    font-weight: 500;
}

.active-filters__item-value {
    font-weight: 600;
}

.active-filters__remove {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.active-filters__remove:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

/* Search Filters Dropdown Styles */
.search-section {
    position: relative;
}

.search-filters-dropdown {
    position: absolute;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 8px;
    width: 400px;
}

@media (max-width: 768px) {
    .search-filters-dropdown {
        right: 0;
        left: 0;
        width: auto;
        margin: 8px 16px 0 16px;
    }
}

.search-filters-dropdown__content {
    padding: 20px;
}

.search-filters__row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-filters__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-filters__label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.search-filters__select {
    padding: 10px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s ease;
}

.search-filters__select:focus {
    outline: none;
    border-color: #008FA1;
    box-shadow: 0 0 0 3px rgba(0, 143, 161, 0.1);
}

.search-filters__actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.button--primary {
    background: #008FA1;
    color: white;
    line-height: 21px;
}

.button--primary:hover {
    background: #007a8a;
}

.button--secondary {
    background: #6c757d;
    color: white;
}

.button--secondary:hover {
    background: #5a6268;
}

/* Active state for filters button */
.search-hero__filters--active {
    background: #008FA1;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .active-filters {
        padding: 12px 16px;
        margin-top: 14px;
        margin-bottom: 14px;
    }
    
    .active-filters__container {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .active-filters {
        padding: 10px 12px;
        margin-top: 12px;
        margin-bottom: 12px;
    }
    
    .active-filters__container {
        gap: 8px;
    }
    
    .active-filters__item {
        padding: 4px 10px;
        font-size: 12px;
    }
    
    .search-filters__actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .active-filters {
        padding: 8px 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .active-filters__container {
        gap: 6px;
    }
    
    .active-filters__item {
        padding: 3px 8px;
        font-size: 11px;
    }
    
}
