/* Toolbar & Filters */
.toolbar {
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(30, 41, 59, 0.4);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    justify-content: space-between;
    margin-bottom: 10px;
}

.search-wrapper {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-input {
    padding-left: 35px !important;
    width: 100%;
    border-radius: 20px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

.filter-group {
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 6px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: 0.2s;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
}

.filter-btn.active.f-risk {
    background: var(--danger);
}

.filter-btn.active.f-gold {
    background: var(--gold);
    color: black;
}

/* Legend */
.legend-bar {
    display: flex;
    gap: 25px;
    margin-bottom: 5px;
    padding-left: 5px;
    font-size: 0.75rem;
    color: #94a3b8;
    font-style: italic;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-item strong {
    color: #e2e8f0;
    font-weight: 600;
    font-style: normal;
}
