/* Extractor Specific Styles */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--text-color);
}

.filter-label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.filter-label:has(input:checked) {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    color: #a855f7;
}

.filter-checkbox {
    display: none; /* Hide native checkbox, style the label */
}

.editable-area {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-y: auto;
    outline: none;
    transition: border-color 0.2s;
}

.editable-area:focus {
    border-color: var(--primary-color);
}

.editable-area:empty:before {
    content: attr(placeholder);
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    display: block;
}

#text-output {
    min-height: 400px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', monospace;
}
