/* ============================================
   FILTER CONTROLS
   Dark + Orange Accent Theme
   ============================================ */

.filter-controls {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem;
    min-width: 200px;
    max-width: 220px;
    z-index: 100;
}

.filter-section {
    margin-bottom: 1.25rem;
}

.filter-section:last-of-type {
    margin-bottom: 1rem;
}

.filter-section h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.filter-label:hover {
    color: var(--color-text);
}

.filter-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

/* Color indicators for project types */
.color-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Filter actions */
.filter-actions {
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.reset-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    background: transparent;
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.filter-counter {
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: var(--color-text-dim);
    text-align: center;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .filter-controls {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        max-width: none;
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-bottom: 1rem;
    }

    .filter-section {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-section h4 {
        width: 100%;
    }

    .filter-label {
        flex: 0 0 auto;
        padding: 0.25rem 0.5rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 4px;
    }
}
