
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.blacklist-modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.blacklist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}

.blacklist-header h2 {
    margin: 0;
    color: #1e293b;
}

.blacklist-close {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.blacklist-close:hover {
    background: #dc2626;
}

.blacklist-section {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.blacklist-stats {
    background: #e0f2fe;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #0c4a6e;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 500;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    min-height: 40px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
}

.tag {
    display: inline-flex;
    align-items: center;
    background: #ef4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.tag-remove {
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold;
    padding: 0 2px;
    border-radius: 2px;
    transition: background-color 0.2s;
}

.tag-remove:hover {
    background: rgba(255, 255, 255, 0.2);
}

.add-tag-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.add-tag-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.add-tag-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.add-tag-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.add-tag-btn:hover {
    background: #2563eb;
}

.save-blacklist-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.2s;
}

.save-blacklist-btn:hover {
    background: #059669;
}

.labels-filter-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.labels-manager-btn {
    background: #8b5cf6;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
}

.labels-manager-btn:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

.active-labels-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 20px;
    font-size: 12px;
}

.active-label-tag {
    background: #e0e7ff;
    color: #5b21b6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.labels-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.labels-modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.labels-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}

.labels-header h2 {
    margin: 0;
    color: #1e293b;
}

.labels-close {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.labels-close:hover {
    background: #dc2626;
}

.labels-section {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.labels-section h4 {
    margin: 0 0 12px 0;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.labels-selector {
    margin-bottom: 16px;
}

.labels-dropdown {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.labels-dropdown:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.selected-labels-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 40px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}


