/* 违禁词管理页面容器 */
.wordfilter-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 区块样式 */
.section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
}

/* 添加违禁词表单 */
.add-word-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.add-word-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.add-word-form button {
    padding: 8px 20px;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.add-word-form button:hover {
    background: #1565c0;
}

/* 违禁词标签样式 */
.word-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.word-tag {
    display: inline-flex;
    align-items: center;
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    transition: background 0.3s;
}

.word-tag:hover {
    background: #e0e0e0;
}

.word-text {
    margin-right: 8px;
}

.delete-btn {
    cursor: pointer;
    color: #666;
    font-size: 18px;
    line-height: 1;
    padding: 0 2px;
}

.delete-btn:hover {
    color: #f44336;
}

/* 动画效果 */
.word-tag {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 